( expression )
Less than 1 minute
( expression )
Inline expressions
Description
Expressions can be inlined via parenthesis. For example:
» echo (1 + 2)
3
The opening brace has to be the first character of that parameter, otherwise that parameter will be treated like a string.
» echo 1+(1 + 2)
1+(1 + 2)
See Also
- Expressions (
expr
): Expressions: mathematical, string comparisons, logical operators - Operators And Tokens: All supported operators and tokens
- Output String (
echo
): Print a string to the stdout with a trailing new line character
This document was generated from gen/parser/expr-inlined_doc.yaml.