END action


Function
Termination of the script execution.
Declaration
END
Examples
Explicit ending of a script
 
 INT _a
 PROCEDURE Procedura
 _a := _a + 5
 END Procedura
 
 BEGIN ;initialization part - explicit beginning
 _a := 2
  CALL Procedura
 END ;initialization part - explicit ending 
 
Implicit ending of script
 
 INT _a
 
 PROCEDURE Procedura
 _a := _a + 5
 END Procedura
 
 ;initialization part - stated implicitly
 _a := 2
  CALL Procedura
 ;end of script = end of initialization part 

Related pages:

Napíšte komentár