VARTYPE
returns the type (string or numerical) of a variable. Returns 1 if the variable has a numerical value, 2 if it is a string. This command can be useful to check the type of variables after splitting up a text with SPLIT
.
Syntax
VARTYPE (expression)
Parameters
expression
: name of a variable
Remarks
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |