compile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (=)
m (typo)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| _[[Code]] <nowiki>=</nowiki> '''compile''' "expression" |= Syntax
| [[Code]] <nowiki>=</nowiki> '''compile''' "expression" |= Syntax


|p1= expression: [[String]] |= Parameter 1
|p1= expression: [[String]] |= Parameter 1
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_function <nowiki>=</nowiki> "a <nowiki>=</nowiki> a + 1"; _compiled <nowiki>=</nowiki> compile _function; [[call]] _compiled;</code> |= Example 1
|x1= <code>_code <nowiki>=</nowiki> "a <nowiki>=</nowiki> a + 1"; _compiled <nowiki>=</nowiki> compile _code; [[call]] _compiled;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 05:24, 5 September 2007

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

Description

Description:
Compile expression.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_code = "a = a + 1"; _compiled = compile _code; 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