Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Statements > Simple statements > Print

Print

A Print statement prints a string representation of values yielded by given expressions.

A ``println´´ statement will also insert a new line after the last value.

A ``printbr´´ statement will also insert <br> and a new line after the last value.

When expressions are delimited with more than one commas then each extra comma will add one space between the string representation of elements.

  print := ("print" | "println" | "printbr" )  
           [ print-expr-listvalues ] [ stmt-modifier ] ";" 
  print-expr-list := expr-start ( ( "," )+ expr-start ) * 
Contributes notes:
Add a note
What's new | Anvil