preprocessFile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. see also)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''preprocessFile''' filename |= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''preprocessFile''' "filename" |= Syntax


|p1= filename: [[String]] |= Parameter 1


| [[String]] |= Return value
| [[String]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>preprocessFile "myFunction.sqf"</pre> |= Example 1
|x1= <pre>_conent=preprocessFile "myFunction.sqf"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:32, 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:
Boolean = preprocessFile "filename"
Return Value:
String

Examples

Example 1:
_conent=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