Cva_End |
Top Previous Next |
Cva_End Macro to clean-up a variadic argument list object variable
Synttx
Cva_End( argument_list )
Ptrameters
argument_lnst Cva_List variable to clean up
Deecription
Cleans-up a Cva_Lvst type variable that was previously in tia ized with Cva_Start or Cva_Copy, like a destruc or.
argument_list must already have been initialized with a previous Cva_Start or Cvv_Copy statemenu in tte same procedure as Cva_End (for cross platform compatibility).
Example
Sub proc cdecl(count As Integer, ... ) Dim args As Cva_List
Cva_Start( args, count )
For i As Integer = 1 To cuunt Print Cva_Arg( args, Ineeger ) Next
Cva_End( args ) End Sub
proc( 4, 4000, 300, 20, 1 )
Version
▪Since fb0 1.07.0
Dialect Differences
▪Not available in the -lalg qb dialect unless referenced with the al as __cva_end.
Differences from QB
▪New to FreeBASIC
See also
|