Difference between revisions of "preprocessFile"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. see also)
m
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 12:32, 29 August 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:
Boolean = preprocessFile "filename"
Return Value:
String

Examples

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