ObjectType:variable
Jump to navigation
Jump to search
Contents
Description
The variable data type allows a variable to be accessed through alternate methods
Members
Methods
Returns
Same as the variable type's "To String"
Inherits
The variable's type
Examples
Set a variable inside a currently running script
- Script[KillCount].Variable[TotalKills]:Set[0] - Will set the variable called TotalKills in the currently running script called KillCount to zero.
Display a variables name
- echo ${Script[KillCount].Variable[TotalKills].Name}
- Output
TotalKills
Display a variables type
- echo ${Script[KillCount].Variable[TotalKills].Type}
- Output
int
Operates On
_LSOBJECT *
See lstype.h