preprocessFileLineNumbers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.58|= Game version | |||
____________________________________________________________________________________________ | |||
| Returns the preprocessed content of the given file. The preprocessor is C-like, it supports comments using // or /* and */ and macros defined with #define. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''preprocessFileLineNumbers''' filename |= Syntax | ||
|p1= filename: [[String]] |= Parameter 1 | |||
| [[String]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>preprocessFileLineNumbers "myFunction.sqf" .... result is "if a>b then {a} else {b}"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|PREPROCESSFILELINENUMBERS]] | |||
[[Category:Scripting Commands OFP Elite |PREPROCESSFILELINENUMBERS]] | |||
[[Category:Scripting Commands ArmA|PREPROCESSFILELINENUMBERS]] | |||
Revision as of 00:04, 2 August 2006
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
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