Advantech VisionNavi User Manual page 80

Table of Contents

Advertisement

[Control(operation)]
Function name Overview
assign
assign_at
break
case
catch
comment
continue
default
else
elseif
endfor
endif
endswitch
endtry
endwhile
for
Function name Overview
if
ifelse
import
insert
repeat
switch
throw
VisionNavi User Manual
Assign a new value to a variable.
Assignment of one or several values to one
or several tuple elements.
Terminate loop execution or leave a switch
block.
Jump label that starts a branch within a
switch block.
Catches exceptions that were thrown in the
preceding try block.
Add a comment of one line to the program. *comment
Skip the current loop execution.
Alternative branch in a switch block.
Alternative of conditional statement.
Conditional statement with alternative.
End statement of a for loop.
End of if command.
Ends a multiway branch block.
Ends a block where exceptions are han-
dled.
End statement of a while loop.
Starts a loop block that is usually executed
for a fixed number of iterations.
Conditional statement.
Conditional statement with alternative.
Import one or more external procedures.
Assignment of a value to a tuple element.
Start statement of a repeat..until loop.
Starts a multiway branch block.
Throws a user-defined exception or
rethrows a caught exception.
Example of use
u := sin(x) + cos(y)
FileNames[0,2,4] :=
['f1','f2','f3']
for statement reference
switch statement reference
try statement reference
For statement reference
switch statement reference
for statement reference
for statement reference
for statement reference
If statement reference
switch statement reference
Try statement reference
while statement reference
for i := 1 to Number by 1
Example of use
...
if (Area > 30)
break
elseif(Area > 20)
endfor
else
continue
endif
endfor
for statement reference
for statement reference
import ./the_one_dir
Areas[Radius-1] := Area
repeat
...
until(TRUE)
switch (Index)
case 1:
break
default:
break
endswitch
Try statement reference
74

Advertisement

Table of Contents
loading

Table of Contents