compile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|COMPILE]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|COMPILE]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">''' compile ''expression'''''</h2>
|2.6|= Game version
____________________________________________________________________________________________


| Compile expression. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''compile''' expression |= Syntax


'''expression:''' [[String]]
|p1= expression: [[String]] |= Parameter 1


'''Type of returned value:'''
| [[Code]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_function = "a = a + 1"; _compiled = compile _function; [[call]] _compiled;</pre> |= Example 1
____________________________________________________________________________________________


[[Code]]
|  |= See also


'''Compatibility:'''
}}


Version 2.60 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Compile expression.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|COMPILE]]
'''Example''':
[[Category:Scripting Commands ArmA|COMPILE]]
 
_function = "a = a + 1"; _compiled = '''compile''' _function; [[call]] _compiled;

Revision as of 22:59, 1 August 2006

-wrong parameter ("Arma") defined!-2.6
Hover & click on the images for description

Description

Description:
Compile expression.
Groups:
Uncategorised

Syntax

Syntax:
compile expression
Parameters:
expression: String
Return Value:
Code

Examples

Example 1:
_function = "a = a + 1"; _compiled = compile _function; [[call]] _compiled;

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

Notes

Bottom Section