Value Computation and Assignment

Read(2815) Label: result, assignment,

Description:

Assign the result of an expression to a variable and return this result.

Syntax:

a=x

Note:

Assign the result of expression x to variable a and return this result.

Parameter:

a

The variable name

x

The legal expression

Return value:

The result of an expression

Example:

 

A

 

1

>time=now()

 

2

>arg1=5*3

 

3

=time

The current time.

4

=arg1

15