
|
<<
Index
>>
|
FutureBasic 5
|
system statement
|
|
statement
|
|
Syntax:
system ExistingType nameOfConstVarOrMacro [, nameOfConstVarOrMacro2...]
Description:
In FutureBasic version 4 and prior, this was a synonym for the end statement; In FutureBasic version 5 onwards, it no longer serves that purpose. Now it is used, mainly in Headers files, to declare macros and extern constants in Carbon or other frameworks.
Example:
Taken from headers:
system CFDictionaryKeyCallBacks kCFTypeDictionaryKeyCallBacks
system CFBooleanRef kCFBooleanTrue
system CFBooleanRef kCFBooleanFalse
General:
system double INFINITY
print INFINITY
stop