Table of Contents

Variable assignment ... := ..."

variable_assignment_statement

[ label : ] target := expression ;

Parents

Further definitions

label

target

expression

Examples

var receives the value 0 .

var := 0;

a receives the current value of b .

a := b;

a receives the result of the function my_function as a new value.

a := my_function ( data, 4 );

str_a is assigned a string which consists of three interlinked parts.

str_a := "Mein Name ist "
        & get_name & ", und Ihrer ?";

var_int receives the result of the right equation as its value.

var_int := my_function( data, 4 ) + 4 * a_function(var_int) - 2 ** data;