Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%GetValueType function


Function

The function gets back a value type

which

that has been set as a parameter.

Declaration


Blok kódu
languageesl
themeConfluence
INT %GetValueType(
   UNIVAL in value
 )
Parameters


valueValue (variable or expression).
Return value
Value type which has been set as a parameter.
Description
Possible return values:

Return valueConstantValue description
1@VTYPE_BoBoolean
3@VTYPE_ReReal
2@VTYPE_IntInteger
7@VTYPE_TmAAbsolute time
8@VTYPE_TmRtime interval
9@VTYPE_TxtText
0@VTYPE_NANNo type
Example


Blok kódu
languageesl
themeRDark
 TEXT _var
 
 INT _expValueType
 INT _varValueType
 
 _expValueType := %GetValueType("text value")
 _varValueType := %GetValueType(_var)