local:moodlescript:language:echo
MoodleScript: ECHO
MoodleScript Script Engine
Effect
Displays a value or the content of a context variable.
Syntax
ECHO "<outputvalue>" ECHO :<varname>
ECHO runtime:<varname>
Examples
ECHO "here"
SET VARIABLE var1 FROM "A value" ECHO :var1
Specific attributes
- outputvalue: Just a value to display in the script log.
- varname: The name of a variable assumed to exist in the execution stack context. The variable can be evaluated at instruction parsing time, or at actual execution time if it is annotated with the prefix runtime:
Other defaults
local/moodlescript/language/echo.txt · Dernière modification : de 127.0.0.1
