Hi Agnes,
>if yo go for the TYPE instead of PEMSTAT why not VARTYPE?
Tore gave you the main reason. Also, if you plan to use addprop, the variable name is usually
already in a string, so reusing that string like
lcProp = "_screen.Height"
if TYPE(m.lcProp)=="U"
adpproperty(_screen, m.lcProp, 100)
endif
makes the code less brittle than typing it with and without " or going other dynamic ways -
only a slight benefit, but I am prone to "finger stuttering" - see the line inside the if ;-)
regards
thomas