User Tools

Site Tools


4rpl:commands:getscriptvar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
4rpl:commands:getscriptvar [2022/09/20 13:01] – [Description] init_var mention Vertu4rpl:commands:getscriptvar [2023/03/26 15:26] (current) – Input variables not returned. Vertu
Line 15: Line 15:
 The value returned will be a direct instance of the var held by the unit. The value returned will be a direct instance of the var held by the unit.
 If the unit or var does not exit, a null value (equivalent to 0) is returned. If the unit or var does not exit, a null value (equivalent to 0) is returned.
- 
-:NOTE: Although input/init variables ($varName:<VARIABLE TYPE>) are technically the unit settings of a custom unit, they are still variables and applicable to this API. 
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
4rpl/commands/getscriptvar.txt · Last modified: 2023/03/26 15:26 by Vertu