Procedure EXIT - < proc_exit > ... [Pro]
Procedure EXIT |
||||||||||||||||||||||||
This command exits procedure execution. |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||||||||||
|
Example (Plain Text):
<#> This example shows how to use "proc_exit" command
<cmds>
<proc_def_begin>(Example,)
<for>("i=0","i<1000","1")
<if>("i > 100")
<msg>(-100,-100,"Exiting procedure execution","Result",1,0,0,0)
<proc_exit>
<endif>
<for_end>
<proc_def_end>
<proc_call>(Example,)
<msg>(-100,-100,"Macro is finished","Result",1,0,0,0)