===== MoodleScript: ECHO ===== ===== MoodleScript Script Engine ===== === Effect === Displays a value or the content of a context variable. === Syntax === ECHO "" ECHO : ECHO runtime: === 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 === None [[:local:moodlescript:languagespecification|Back to the language index]] - [[:local:moodlescript|Back to the component index]]