Next: Statements, Previous: Syntax, Up: Top [Index]
Many INTERCAL statements take expressions as arguments. Expressions are made up out of operands and operators between them. Note that there is no operator precedence in INTERCAL; different compilers resolve ambiguities different ways, and some versions of some compilers (including the original INTERCAL-72 compiler) will cause error messages on compiling or executing an ambiguous expression, so it’s safest to fully group each expression.
• Constants and Variables: | The basic operands that make up expressions | |
• Grouping Rules: | How to specify grouping in expressions | |
• Operators: | Joining operands into more complex expressions |