Lexical operator for converting the value of an expression to a decimal value. Format %INTEGER (integer)
1 – Argument
integer The single argument, of type integer, is the expression to be converted.
2 – Description
%INTEGER is modeled after the OpenVMS DCL lexical function F$INTEGER. It is used to convert the value of an expression to a decimal value. The result is its decimal value. You can also use %INTEGER to convert a relocatable expression to an absolute value.
3 – Example
.PRINT "%INTEGER (<<X+7>*17>)" After lexical processing, if X has the value 3, the statement will appear as: .PRINT "170"