en:code:core:script
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:code:core:script [2013/06/29 10:24] – jmgr | en:code:core:script [2021/02/13 11:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Script ====== | ====== Script ====== | ||
Used to interact with the current script. This object is only available when executing a script, not when executing code using ActExec! | Used to interact with the current script. This object is only available when executing a script, not when executing code using ActExec! | ||
+ | |||
+ | ===== Functions ===== | ||
+ | |||
+ | ==== callProcedure ==== | ||
+ | Calls a procedure from the script. The procedure will be executed when the current action is finished. | ||
+ | |||
+ | <note tip>This function is not blocking : the code following a call to this function will be executed in any case</ | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | [//Added in Actionaz 3.8.0.//] | ||
+ | |||
+ | === Syntax === | ||
+ | <code javascript> | ||
+ | Script.callProcedure(name); | ||
+ | </ | ||
+ | |||
+ | === Arguments === | ||
+ | - name - (string) the name of the procedure to call | ||
+ | |||
+ | === Returns === | ||
+ | * (null) nothing | ||
===== Variables ===== | ===== Variables ===== | ||
Line 6: | Line 28: | ||
==== nextLine ==== | ==== nextLine ==== | ||
Contains the next script line to be executed. | Contains the next script line to be executed. | ||
+ | |||
+ | <note important> | ||
=== Example === | === Example === |
en/code/core/script.1372501450.txt.gz · Last modified: 2021/02/13 11:23 (external edit)