compile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(updated)
mNo edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_code <nowiki>=</nowiki> "a <nowiki>=</nowiki> a + 1"; _compiled <nowiki>=</nowiki> compile _code; [[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 09:48, 28 August 2009

-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:
callspawn

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