compile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 14: | Line 14: | ||
| [[Code]] - compiled expression | | [[Code]] - compiled expression | ||
|x1= <code>_string <nowiki>=</nowiki> "a <nowiki>=</nowiki> a + 1"; | |x1= <code>_string <nowiki>=</nowiki> "a <nowiki>=</nowiki> a + 1"; | ||
_code <nowiki>=</nowiki> [[compile]] _string; | _code <nowiki>=</nowiki> [[compile]] _string; |
Revision as of 19:56, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Strings
Syntax
- Syntax:
- Syntax needed
- Parameters:
- expression: String - expression to be compiled
- Return Value:
- Return value needed
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