If tcVariable = "5" then the following code will set lcType to N instead of C. It appears that TYPE tries to evaluate uMyVar then returns the type of the result.
Shane
>
>> lcType = TYPE ("tcVariable")
>> IF lcType = "C"
>> IFTYPE (tcVariable) <> "U"&& a variable could refer to any type
>> lcType = TYPE (tcVariable) && return the variable's variable type.
>> ENDIF
>> ENDIF
>