preprocessFileLineNumbers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>preprocessFileLineNumbers "myFunction.sqf" .... result is "if a>b then {a} else {b}"</pre> |= Example 1
|x1= <br><code>'''preprocessFileLineNumbers''' "myFunction.sqf"</code>
 
Result is "[[if]] a>b [[then]] {a} [[else]] {b}" |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:15, 4 August 2006

-wrong parameter ("Arma") defined!-2.58
Hover & click on the images for description

Description

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

Syntax

Syntax:
preprocessFileLineNumbers filename
Parameters:
filename: String
Return Value:
String

Examples

Example 1:

preprocessFileLineNumbers "myFunction.sqf" Result is "if a>b then {a} else {b}"

Additional Information

See also:
See also needed

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