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 > Primaries > Parenthesis

Parenthesized form

A parenthesized form is an expression enclosed in parentheses: it yields whatever the expression inside it yields.

This expression looks like a tuple with one value, but there is a small difference. To create a tuple with one value, an extra comma must be added to the end of the expression.

  parenthesized := "(" expr ")" 
See also  | Primaries  | Grammar
Contributes notes:
Add a note
What's new | Anvil