preprocessFile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_conent=preprocessFile "myFunction.sqf"</pre> |= Example 1
|x1= <pre>_content=preprocessFile "myFunction.sqf"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:40, 29 August 2007

Hover & click on the images for description

Description

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

Syntax

Syntax:
String = preprocessFile "filename"
Return Value:
String

Examples

Example 1:
_content=preprocessFile "myFunction.sqf"

Additional Information

See also:
FunctionSQF syntaxexecVMloadFilePreProcessor Commands

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section