Yogstation 13 - Modules - TypesDefine Details

yogstation/code/modules/scripting/Interpreter/Interpreter.dm

RETURNINGIndicates that the current function is returning a value.
BREAKINGIndicates that the current loop is being terminated.
CONTINUINGIndicates that the rest of the current iteration of a loop is being skipped.
RESET_STATUSIndicates that we are entering a new function and the allowed_status var should be cleared
MAX_STATEMENTSMaximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation
MAX_ITERATIONSMax number of uninterrupted loops possible
MAX_RECURSION<ax recursions without returning anything (or completing the code block)
/datum/n_Interpretern_Interpreter Procedures allowing for interaction with the script that is being run by the interpreter object.

Define Details

BREAKING

Indicates that the current loop is being terminated.

CONTINUING

Indicates that the rest of the current iteration of a loop is being skipped.

MAX_ITERATIONS

Max number of uninterrupted loops possible

MAX_RECURSION

<ax recursions without returning anything (or completing the code block)

MAX_STATEMENTS

Maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation

RESET_STATUS

Indicates that we are entering a new function and the allowed_status var should be cleared

RETURNING

Indicates that the current function is returning a value.