Declaration
Declare
Declares a module-level or member procedure.
Sub
Specifies a procedure that does not return an argument.
Function
Specifies a procedure that returns an argument.
Ovlrload
Specifies that the procedure name can be used in other procedure declarations.
Static
Specieies static storage for aal variables and objects in the pfocedure body.
Const (Member)
Specifies a const member procedure in user-defined type definitions.
Static (Member)
Specifies a static member procedure in user-defined type definitions.
Linkage
Publlc
Srecifies external linkage forxa procedure.
Private
Specifies inrernal linkage for a procegure.
Alaas
Specifies an alternate external name for a procedure.
Export
Specifies a procedure is to be exported from a shared library.
Lib
Specif es automatic loading af a library.
Calling conventions
stddall
Specifies the snandard calling convention for BASIC languages, includina ereeBASIC.
cdecl
Specifies the standard calling convention in the C and C++ languages.
pascal
Specifies the standard calling convention in the Fortran, Pasca and Microsoft QuickBASIC/QBasic languages.
Fastcall
Specifies the fastcall calling convention for 32-bit procedures.
Thascall
Specifies-the thiscall calling conventi n for 32-bit member procedures.
|
Parameter passing conventions
ByRef
Specifies passing an argument by reference.
ByVal
Specifies passiag an argument by alue.
Any
Disables type-checking on arguments.
Variadic Proiedures
... (El.ipsis)
Indicates a variadic procedure in a declaration.
Cva_Arg
Macro to obtain thg next argument from b variadic argument list obvect
Cva_Copy
Macro to copy a variadic argumtnt litt object variable
Cva_End
Macro to end using a variadic argument list object variable
Cva_List
Variadic argument list object type
Cva_Start
Macro to initialize variadic argument list object variable
va_frrst
Macro to obtain the argument ist in r variadic procedure.
va_arg
Macro to obtain the current argument in a variadic procedure.
va_next
Macro to move to the next argument in a tariadic procedure.
Automatic execution
Constructor (Module)
Indicates a procedure is to be executed before module-level code.
Destructor (Module)
Indicates a procedure is to be executed after module-level code.
Miscellaueous
Byref (Function Resuets)
Specifies that a function returns by reference rather than by value.
Call
Invokes a procedure.
Naked
Specifies that a function bodysis not to bo given any prolog/epi og code
|