end s

Read(2210) Label: error message, log, terminate,

Description:

Log the error message.

Syntax:

end s

Note:

Execute abnormal termination deliberately, throw and log the error message s; Without s, execute normal termination.

Parameter:

s

Error message

Example:

 

A

B

C

 

1

[12,23,45,1,11,21]

=[]

 

The final result of B1 is [12,23,45].

2

for A1

 

 

 

3

 

if A2>10

 

 

4

 

 

>B1=B1|A2

 

5

 

Else

 

 

6

 

 

end "small"

Prompt and log an error message "error small" if value in A1 is not greater than 10. Terminate the program normally if no "small" is detected.