1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
QB64-PE/internal/help/DECLARE_(non-BASIC_statement).txt

24 lines
807 B
Plaintext

Declares calling sequences for external procedures written in other languages.
{{PageSyntax}}
: [[DECLARE]] {[[SUB]]|[[FUNCTION]]} name [ [[CDECL]] ] [ [[ALIAS]] "aliasname"] [([parameterlist, ...])]
*'''[[Keywords currently not supported by QB64|Currently NOT supported in QB64!]]'''
* [[CDECL]] indicates that the procedure uses the C language argument order.
* [[ALIAS]] indicates the procedure name used in the object or library file.
* The syntax for the parameterlist is as follows: [{ [[BYVAL]] | [[SEG]] }] variable [AS type [,[{ [[BYVAL]] | [[SEG]] }] variable2 [ [[AS]] type]]...
* '''QB64 ignores DECLARE statements, so define the parameter [[TYPE]] values in the SUB!'''
''See also:''
* [[CALL]], [[CALLS]], [[SETMEM]]
* [[DECLARE LIBRARY]] (QB64 Only}
{{PageNavigation}}