modula-2 home

  Home  
  Tutorial  
  Win32 API  
  Reference  
  Projects  
 

 

Expressions

Expressions are constructs used to create new objects by operating on existing objects. The simplest expression names an existing object (a variable or a constant). Operators are used to perform computations on objects.

Operators specify that an operation is performed on one or two objects. The objects are called operands. Operands can be variables, constants, results of another operator, or results of function calls.

See:


Source:

  • Stony Brook Modula-2 documentation. Used with permission. Note: Stony-Brook M2 offers an extended syntax with features not described here. Stony Brook M2 users are encouraged to visit the Stony Brook website and to consult the Stony Brook help system.