Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Expressions > Expression list

Expression list

An expression list yields a value of the type anvil.lang.tuple if it has more than one expression; otherwise, it yields the value of the contained expression.

Exception: with the print statement, the values yielded by each expression in the list are printed rather than the resulting tuple.

  expr-list  := expr ( "," expr )* 
See also  | Lists  | Subscriptions  | Assignments  | Return  | Yield  | Throw  | Exit  | Tags  | Grammar  | <invoke>  | <call>
Contributes notes:
Add a note
What's new | Anvil