General information
Category:
Coding, syntax & commands
>Doesn't that array contain .NULL. for that element if that form does not exist?
>I tried:
>DIMESION aForms[2]
>aForms[1] = CREATEOBJECT('form')
>aForms[2] = CREATEOBJECT('form')
>aForms[2].Release()
>
>Now aForms contains:
>[1] - object reference to first form created: VARTYPE(aForms[1]) is 'O'
>[2] - .NULL. : VARTYPE(aForms[2]) is 'X'
>
>Since the element is .NULL. (or 'X'), don't do the VARTYPE on the non-existant property. I agree, it would me much easier to test it all at once.
>
That's what I thought. :-)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only