Compiling Errors
In the recently released Zen Studio Live (ZSL), the vast majority of scripts should work 1:1 as-is, provided they were actually functional in the previous compiler.
The ZSL compiler fully checks for errors ahead of time. If you are experiencing errors compiling, it should be noted that the ZSL compiler is stricter, but it mainly boils down to the following that you will need to check:
All keywords are now fully reserved; you cannot use them for a function name or a variable/parameter/constant, etc.
Subtle changes, such as the order of "++x" or "x++", now matter — previously, both were treated the same as "++x".
Dead Code Is Now Checked Too
This isn't a strictness change like the two points above — it's a change in how the compiler behaves. Previously, if you had a function that was never called or referenced anywhere in your script, the old compiler would ignore it completely, even if it contained errors. The ZSL compiler now checks everything ahead of time, including unused code.
If you're getting compile errors in a function you never touched, this is likely why. The fix is simple: use the Prune function, which strips away dead functions, combos, and const arrays before compiling — so unused code never gets checked in the first place.
Last updated

