General information
Category:
Coding, syntax & commands
Title:
VARTYPE erroring out
Can anyone tell me how the following line of code could possible throw an error:
IF VARTYPE(mdepartment) <> "U"
We get a "Variable mdepartment not found" error.
Well, duh, that is what we are checking. Why is this throwing a runtime error? I have seen VARTYPE() have trouble when objects are involved...like looking for a specific property, but this is just a straight memory variable. How can this be erroring out? We are goung to try using TYPE("mdepartment") instead, but I am still curious as to why VARTYPE() is having problems here...
Thanks,
JoeK
Next
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