Eval
Index Prev Next
Synopsis
VALUE1/A,OP,VALUE2/M,TO/K,LFORMAT/K
Function
Evaluate an integer expression and print the result. The result is
written to standard output if not the TO switch are used which instead
prints the result to a file. Using the switch LFORMAT, it is
possible to direct how to write the result. Numbers prefixed by
0x or #x are interpreted as hexadecimal and those prefixed by # or 0
are interpreted as octals. Alphabetical characters are indicated
by a leading single quotation mark ('), and are evaluated as their
ASCII equivalent.
|
|