Revision [21268]

This is an old revision of KeyPgVaArg made by fxm on 2016-03-18 08:43:45.

 

VA_ARG


Returns the current argument from a variable argument list.

Syntax:
variable = va_arg ( argument_list, datatype )

Description:
The va_arg macro allows the use of a variable number of arguments within a function. va_arg returns the current argument in the list, argument_list, with an expected data type of datatype. Before va_arg can be used, it must be Initialized with the command va_first. Unlike the C macro with the same name, va_arg does not automatically increment argument_list to the next argument within the list. Instead va_next must be used to find the next argument.

Note: Not supported when using gcc.

Examples:
See the va_first() examples.

Dialect Differences:
Differences from QB:
See also:
Back to Procedures
Back to Variable Argument list
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode