compile: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>_string <nowiki>=</nowiki> "a <nowiki>=</nowiki> a + 1"; | ||
_code <nowiki>=</nowiki> [[compile]] _string; | |||
[[call]] | [[call]] _code;</code> |= Example 1 | ||
|x2= <code>[[hint]] [[str]] [[compile]] "a = b"; | |||
//Result: {a=b}</code> |= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:59, 3 August 2013
Description
- Description:
- Compile expression.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_string = "a = a + 1"; _code = compile _string; call _code;
- Example 2:
hint str compile "a = b"; //Result: {a=b}
Additional Information
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