As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
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