Returns a numeric argument.
Syntax
XcallBlock.GetArg(Argument)
Parameters
Argument
An Integer value indicating the number of the XCALL argument to read. The first argument is argument number one.
Return Value
A Long value containing the value of the numbered XCALL argument. The GetArg function will read the integer part of binary, floating point, and string type (where a numeric value is held as a string) AlphaBASIC arguments.
Remarks
The GetArg function will not return fractional parts of floating point arguments. To access fractional arguments, the ArgValue property should be used instead.
The related PutArg method should be used to return numeric argument values to the calling AlphaBASIC program.