pike.ida.liu.se
Not logged in

First of all, some useful terms:

  • An operation is something Pike does, such as the operation "addition".

  • An operator is the symbol we use in a program to write the operation, such as the operator +.

  • An operand is a thing that an operation is applied to. For example, in the expression 7 + a there are two operands: 7 and a.

  • An expression is what you get when you combine operators and operands according to the grammar rules of the language.

In this chapter we will examine how we write expressions in Pike. We will look at all the operations that have their own operators.