sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
44 stars 0 forks source link

Disable global variables automatic allocation for Cleo scripts #326

Open MiranDMC opened 1 month ago

MiranDMC commented 1 month ago

Global variables seems to be trap that every scripting newcomer falls in. Recently SB syntax evolved so much that I think automated assigning new named global variable, by just using it, is now out of place.

In my opinion, at least for Cleo scripts, global variables should be only accessible if defined in current mode, declared with ALLOC keyword or used numbered approach (like $409).

Seems somehow related to: #267