| Name: | CTXT | Syntax: | (CTXT(arg)) |
|---|---|---|---|
| Family: | Function | Category: | Conversion |
| Description: | Converts other datatypes to TEXT | ||
CTXT converts the internal value of non-text datatypes, returning a text string. In the following example, the value of vctxt1 is the value 37.5 and is a REAL data type. The value of vctxt2 is the value 37.5 and is a TEXT data type. If you attempt to use this value in a mathematical function, it will fail.
SET VAR vctxt1 REAL = 37.5 SET VAR vctxt2 = (CTXT(.vctxt1))