preprocessFileLineNumbers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|PREPROCESSFILELINENUMBERS]]
[[Category:Scripting Commands ArmA|PREPROCESSFILELINENUMBERS]]


<new command not populated>


<h2 style="color:#000066">''' preprocessFileLineNumbers ''filename'''''</h2>


<h2 style="color:#000066">''''' preprocessFileLineNumbers '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''filename:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[String]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.58 required.


'''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.




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

Revision as of 17:40, 1 July 2006


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}"