GetUnfArg Function

Returns an unformatted argument.

Syntax

XcallBlock.GetUnfArg(Argument)

Parameters

Argument

An Integer value indicating the number of the XCALL argument to read. The first argument is argument number one.

Return Value

An Integer array containing one element for each byte of the unformatted argument. The array is zero-based.

Remarks

The GetUnfArg method should not be used to read arguments other than unformatted arguments, as it may return corrupt or incomplete values. For example a 6-byte floating point argument will be returned as a 6-element array, but these will represent the first 6 bytes of the IEEE 8-byte representation of the value.

The related PutUnfArg method should be used to return unformatted argument values to the calling AlphaBASIC program.