preprocessFileLineNumbers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (upd. link)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[preprocessFile]], [[loadFile]], [[Function]], [[SQF syntax]], [[call_body|call]], [[spawn]], [[execVM]], [[PreProcessor Commands]] |= See also
| [[preprocessFile]], [[loadFile]], [[Function]], [[SQF syntax]], [[call]], [[spawn]], [[execVM]], [[PreProcessor Commands]] |= See also


}}
}}

Revision as of 15:23, 15 June 2010

-wrong parameter ("Arma") defined!-1.00
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:
String = preprocessFileLineNumbers fileName
Parameters:
fileName: String
Return Value:
String

Examples

Example 1:

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

Additional Information

See also:
preprocessFileloadFileFunctionSQF syntaxcallspawnexecVMPreProcessor 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