I am trying to determine the tag type using the following commend (preceded by a SETSYS TAG, “load”,id instruction):
PRINT GETSYS TAG,"Type"
The above command seems to produce an integer relating to the tag type. I have noted a string is tag type 6.
When I try the following command I receive an error:
IF GETSYS TAG,"Type" = 6 THEN PRINT "STRING"
The error is “mixed string&number operation…”
I expect the result of the instruction GETSYS TAG,“Type” is an integer so the error of mixed string and number seems confusing.