Page 1 of 1

"end with" problem fixed patch 3)

Posted: 6 Jul 2019, 23:12
by Lx Xzit
People has been experiencing issues with "with" blocks, more especifically, at the end of the block since they didn't close them. In SMBX 1.4.4 you could just open a "with" block without having to close it (unless you wanted to use another "with" block). For example this:

Code: Select all

with npc(sysval(param1))
   call showmsg("test")


Was a valid syntax in SMBX 1.4.4. But in SMBX 1.4.5 however, this isn't. The game wants you to always close "with" blocks. I know this is technically a syntax error, but the fact this changed suddently has caused a lot of errors. While it is easy to fix, I thought it would be worth reporting, so that people shouldn't take an extra step to get their scripts working