Code: Select all
v24.40.0004 - 2023-05-13 15:06
+ Native Context Menu: Now it allows right-clicking the menu items. It also allows
Left Mouse Up after rocker-click.
+ Shell Context Menu (32-bit): Now it allows Left Mouse Up after rocker-click.
+ SC get got a new named argument "stepping" to return whether the script is currently
in step mode.
Syntax: get("stepping")
return: 0 = step mode OFF
1 = step mode ON
Remark:
The return is not identical to the current setting of "Scripting | Step Mode".
This is only one factor that affects whether you are actually in step mode.
Examples:
echo get("stepping");
echo <get stepping>;
+ Scripting got a new function.
Name: VarType
Action: Returns the state of a variable.
Syntax: vartype(variable)
variable: Variable, e.g. $a or $a[0].
return: One of these states:
array
empty
float
integer
not a variable
string
undefined
Examples:
$a = 0; echo vartype($a); //integer
$a = 4; echo vartype($a); //integer
$a = "4"; echo vartype($a); //integer (!)
$a = 4.1; echo vartype($a); //float
$a = 4.0; echo vartype($a); //float (!)
$a = "b"; echo vartype($a); //string
$a = "b"; echo vartype($b); //undefined
$a = ""; echo vartype($a); //empty
$a = array(); echo vartype($a); //array
$a[9] = 1.1; echo vartype($a); //array
$a[9] = 1.1; echo vartype($a[9]); //float
$a = "b"; echo vartype(a); //not a variable
$a = "b"; $b = "b"; echo vartype($a . $b); //not a variable

(1) Installer Package, (2) No-Install Package (for manual unpacking).
