TLO:Int

From the wonderful RedGuides Wiki

Object that creates an integer from n.

This TLO is added by MacroQuest

Forms

Type Member Description
int Int[n]

Access to Types

Type Description
int Data related to integers

Examples

/echo ${Int[123].Hex}

Echos the result of the conversion of 123 to an int in hexadecimal.

/echo ${Int[textstringhere]}

Echos a zero - useful if passing a string to a macro or subroutine that could be a text string or a number and you want to do different actions depending on what you recieve

/echo ${Int[123]}

Echos 123


See also