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

Other defaults

None

Back to the language index - Back to the component index