You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it does not respect boundaries set by CustomArrays.ini even when this option is enabled
it treats all variables as 4 bytes, even str8 and str16 variables
using a high numeric var like $12000 allows to start allocating from 12001, but it requires comping as a command, there is not compiler setting otherwise (maybe repurpose alloc(...) for that?)
Suggested changes to raise awareness of potential issues cause by mis-use of global variables.
restrict use of global variables in CLEO scripts by default. User should explicitly opt-in by using directive {$UNSAFE_USE_GLOBAL_VARS}. UNSAFE_USE_GLOBAL_VARS is implicitly on when SB3_Compat option is on (current default in 4.0-4.1, but will change in the future.)
no implicit allocations. User allocates each variable by using Alloc function.
Numeric variables are not allowed ($1234), use Alloc instead
Convert CustomVariables.ini data to the include file GlobalVarsV1.txt with set of Alloc instructions (e.g. Alloc($player1, 2)). User can import this file to use known indexes. This file can incl…
Suggested changes to raise awareness of potential issues cause by mis-use of global variables.
{$UNSAFE_USE_GLOBAL_VARS}. UNSAFE_USE_GLOBAL_VARS is implicitly on whenSB3_Compat optionis on (current default in 4.0-4.1, but will change in the future.)Allocfunction.$1234), useAllocinsteadCustomVariables.inidata to the include fileGlobalVarsV1.txtwith set of Alloc instructions (e.g.Alloc($player1, 2)). User can import this file to use known indexes. This file can incl…