PutArg Method

Sets a numeric argument.

Syntax

XcallBlock.PutArg(Argument,Value)

Parameters

Argument

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

Value

A Long value to return in the specified argument to the calling program.

Remarks

The PutArg function may be used to return a non-fractional numeric value to any argument type. For string and unformatted argument types the string representation of the value is returned. To return fractional arguments the ArgValue property should be used instead.