Difference between revisions of "preprocessFile"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (add. see also)
Line 20: Line 20:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Function]], [[SQF syntax]], [[execVM]], [[loadFile]] |= See also
+
| [[Function]], [[SQF syntax]], [[execVM]], [[loadFile]], [[PreProcessor Commands]] |= See also
  
 
}}
 
}}

Revision as of 05:45, 24 March 2007

Introduced with Operation Flashpoint: Resistance version 1.851.85
Hover & click on the images for descriptions

Description

Description:
Returns preprocessed content of given file. Preprocessor is C-like, supports comments using // or /* and */ and macros defined with #define.

Syntax

Syntax:
preprocessFile filename
Parameters:
filename: String
Return Value:
String

Examples

Example 1:
preprocessFile "myFunction.sqf"

Additional Information

See also:
FunctionSQF syntaxexecVMloadFilePreProcessor Commands

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section