Built-in variables and specifiers
ascii
(variable array that contains characters from extended (256 characters) ascii table)
pi
(3.14159265359.f
)
var.i
(0.i
)
var.f
(0.f
)
var.s
(empty char array, it’s not possible to use char array literal .s
)
var
(it has no value)
path
(path to folder within is the source as var.s
)
temp
(path to OS specific temporary files folder as var.s
)
screenSizeX
(height of screen in pixel as var.i
)
screenSizeY
(width of screen in pixel as var.i
)
logicDefault
(random value, used in switch statement default option)
OS
(operating system or platform name as var.s
, standard values are windows
, linux
, mobile
, web
)
lastInstruction
(last instruction’s name called by instructionExecute
as var.s
, all non built-in instructions are called by instructionExecute
, not thread-safe, initial value is doNothing
)
lastArguments
(last instruction’s called by instructionExecute
argument’s names as var[]
of var.s
, all non built-in instructions are called by instructionExecute
, not thread-safe, initial value is var[]
)
errorHandler
(name of instruction that is called when error is thrown instructionExecute(errorHandler, lastError)
)
lastError
(last error as var.s
)