The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
assert(exp)throws an exception if exp is null
OK. Have you tried it?
What do you expect to happen?
Who is going to catch it?
crash Code::Blocks !!!
local board = null;assert(board)
Codelocal board = null;assert(board)This exception should be recovered by "Code::Blocks" to notify the user ?
Welcome to the script console!> local board = null;> assert(board)AN ERROR HAS OCCURED [the index 'board' does not exist]CALLSTACK*FUNCTION [main()] ScriptConsole line [1]LOCALS[this] TABLEAN ERROR HAS OCCURED [the index 'board' does not exist]CALLSTACK*FUNCTION [main()] ScriptConsole line [1]LOCALS[this] TABLE