local:moodlescript:langage:freezecontext
MoodleScript: FREEZE CONTEXT
MoodleScript Script Engine
Effect
Locks the execution context of the stack for the following instructions, until the next unlock instruction. Context variables of instructions executed after a lock are no longer written into the current execution context. This makes it possible, for example, to lock the implicit value of identifiers pointed to by the “current” pseudo variable.
Syntax
FREEZE CONTEXT
Specific attributes
This command has no attributes.
Other defaults
local/moodlescript/langage/freezecontext.txt · Dernière modification : de 127.0.0.1
