Repository navigation
Procedures
Home › Procedures › Procedures
Keywords that work with procedures.
Description
These keywords control the declaration and definition of both module-level procedures and member procedures, how they are called, how arguments are passed and how their names are seen externally to other modules. Procedures can also be declared to be executed automatically before any module-level code is executed.
Declaration
Keywords that declare and define procedures.
Linkage
Keywords that specify how procedure names are seen by external modules.
Calling conventions
Keywords that specify how arguments are used when calling procedures.
Parameter passing conventions
Keywords that specify how arguments are passed to procedures.
Variadic Procedures
Macros that allow for an arbitrary number of arguments to be passed to a procedure.
Automatic execution
Keywords that specify automatic execution of procedures.
Miscellaneous
Miscellaneous keywords.
Declaration
Declares a module-level or member procedure.
Specifies a procedure that does not return an argument.
Specifies a procedure that returns an argument.
Specifies that the procedure name can be used in other procedure declarations.
Specifies static storage for all variables and objects in the procedure body.
Specifies a const member procedure in user-defined type definitions.
Specifies a static member procedure in user-defined type definitions.
Linkage
Specifies external linkage for a procedure.
Specifies internal linkage for a procedure.
Specifies an alternate external name for a procedure.
Specifies a procedure is to be exported from a shared library.
Specifies automatic loading of a library.
Calling conventions
Specifies the standard calling convention for BASIC languages, including FreeBASIC.
Specifies the standard calling convention in the C and C++ languages.
Specifies the standard calling convention in the Fortran, Pascal and Microsoft QuickBASIC/QBasic languages.
Specifies the fastcall calling convention for 32-bit procedures.
Specifies the thiscall calling convention for 32-bit member procedures.
Parameter passing conventions
Specifies passing an argument by reference.
Specifies passing an argument by value.
Disables type-checking on arguments.
Variadic Procedures
Indicates a variadic procedure in a declaration.
Macro to obtain the next argument from a variadic argument list object
Macro to copy a variadic argument list object variable
Macro to end using a variadic argument list object variable
Variadic argument list object type
Macro to initialize variadic argument list object variable
Macro to obtain the argument list in a variadic procedure.
Macro to obtain the current argument in a variadic procedure.
Macro to move to the next argument in a variadic procedure.
Automatic execution
Indicates a procedure is to be executed before module-level code.
Indicates a procedure is to be executed after module-level code.
Miscellaneous
Specifies that a function returns by reference rather than by value.
Invokes a procedure.
Specifies that a function body is not to be given any prolog/epilog code
Category: Procedures
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.
tiko-lang · Home · Feature Index · Keyword Index · License
FreeBASIC manual pages reproduced under the GNU FDL 1.3.
- Generics
- Interfaces
- For Each
- Iterators
- Tuples
- Array Results
- Defer
- Lambdas
- Block Strings
- String Slices
- Embed
- Typed Variadics
- C Header Import
- Foreign Library Linking
- UString
- Fixed-Width Types
- Nullptr
- String Library
- Format
- Array
- Map
- Set
- LinkedList
- OrderedMap
- OrderedSet
- Sorting
- Optional
- Result
- Smart Pointers
- Date and Time (Chrono)
- Filesystem
- File Streams
- Config (INI and TOML)
- Codec
- Hash
- UUID
- OS
- Process
- Net
- HTTP and TLS
- Math Library
- Finance
- Logging
- Terminal TUI Library
- PsControls
- tkControls
- sys/win
- Goroutines and Channels
- LLVM Backend
- tiko build
- TIKO_COMPILER
- Variable Declarations
- Standard Data Types
- User Defined Types
- Procedures
- Operators
- Control Flow Statements
- Converting Data Types
- Array Functions
- String Functions
- Mathematical Functions
- Bit Manipulation
- Date and Time Functions
- File I/O Functions
- Console Functions
- User Input (Runtime Library)
- User Input Functions (Graphics Library)
- Screen Functions
- 2D Drawing Functions
- Graphics Library Reference
- Graphics Keyword List
- Memory Functions
- Threading Support Functions
- Error Handling Functions
- Operating System Functions
- Preprocessor
- Intrinsic Defines
- Miscellaneous Keywords
- Modularizing