Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vartype: behavior
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00136852
Message ID:
00136926
Views:
24
>>> if (type("this.aformarray[n].name") == 'C'
>>
>>It's bordered to checking nothing except Error routine :)
>
>Sorry, I don't follow. :)
>
>Are you saying that there's a problem with the method I described?

No, I just meant that if we omit checking for object, and check for object property then it might be enough not to check at all except error trap on first line where this object reference will be used. Just a joke, probably unsuccessful, sorry. Normally, TYPE() works Ok, I didn't try VARTYPE() though.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform