Assignment statements

Language:
Русский
English

 Assignment statements


Assignment statements do either of the following:

  1. Replace the current value of a variable with a new value specified by
   an expression.

  2. Specify an expression whose value is returned by a function.

The assignment operator is :=.

Examples

 X := Y + Z;
 Done := (I >= 1) and (I < 100);
 Hue1 := [Blue, Succ(C)];
 I := Sqr(J) - I * K;

| G+
Код для вставки: :: :: :: ::
Поделиться: // //