ArgSize Property

Returns the size of an argument.

Syntax

XcallBlock.ArgSize(Argument)

Parameters

Argument

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

Return Value

A Long value indicating the size of the specified argument in bytes.

Remarks

The size returned represents the size of the native A-Shell (or AMOS) representation of the argument. For example: A floating point argument will return a size of 6, even though the value returned from the GetArg function will be an 8-byte IEEE representation. A string argument will return a size indicating the number of characters in the string, even though the value returned from GetStrArg is a BSTR Unicode string which uses two bytes to represent each character.