preprocessFileLineNumbers: Difference between revisions
Jump to navigation
Jump to search
m (reset ver) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''preprocessFileLineNumbers''' filename |= Syntax | | [[String]] <nowiki>=</nowiki> '''preprocessFileLineNumbers''' "filename" |= Syntax | ||
|p1= filename: [[String]] |= Parameter 1 | |p1= filename: [[String]] |= Parameter 1 | ||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <br><code>'''preprocessFileLineNumbers''' "myFunction.sqf"</code> | |x1= <br><code>_string <nowiki>=</nowiki> '''preprocessFileLineNumbers''' "myFunction.sqf"</code> | ||
Result is "[[if]] a>b [[then]] {a} [[else]] {b}" |= Example 1 | Result is "[[if]] a>b [[then]] {a} [[else]] {b}" |= Example 1 |
Revision as of 11:42, 29 August 2007
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:
- String = preprocessFileLineNumbers "filename"
- Parameters:
- filename: String
- Return Value:
- String
Examples
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