preprocessFileLineNumbers

From Bohemia Interactive Community
Revision as of 17:40, 1 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


preprocessFileLineNumbers filename


Operand types:

filename: String

Type of returned value:

String

Compatibility:

Version 2.58 required.

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.


Example:

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