Previous Topic

Next Topic

Book Contents

Book Index

%%$TYPE

The %%$TYPE function returns the type attribute of a character string. Possible type attributes are:

The format of the %%$TYPE function is

%%$TYPE char_string

where char_string is, or resolves to, any character string.

Example 1

//* %%SET %%A=%%$TYPE A123

%%A is assigned a value of X

Example 2

//* %%SET %%B=%%$TYPE XYZ

%%B is assigned a value of C

Example 3

//* %%SET %%C=%%$TYPE -1239

%%C is assigned a value of M

Parent Topic

Functions