Skip to content

Va Next

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Procedures › va_next

va_next

Returns a pointer to the next argument in a variable argument list

Syntax

Argument_Pointer = va_next ( Argument_List, datatype )

Description

The va_next macro provides a datatype pointer value that points to the next argument within the list Argument_List, datatype being the type of the current argument being stepped over.

Not supported when using -gen gcc. Use Cva_List variadic argument list type for cross platform compatibility.

Remarks

Dialect Differences

  • Not available in the -lang qb dialect unless referenced with the alias __Va_next.

Differences from QB

  • New to FreeBASIC

See also

Examples

See the Va_First() examples.


Category: Procedures
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally