exit
 exit | 
   
  Purpose
 
  
  Synopsis
 
 procedure exit(code:integer)
 
  Argument
 
 | 
     
     code 
       | 
   
     
     Value to be returned by the program
       | 
  
  Further information
 
 
 This procedure terminates the current program and returns the given value. Models exit by default with a value of
 0 unless this is changed using
 exit. The Mosel command line interpreter uses this value as exit status.
 
 
  Related topics
 
 
 Section
 Running Mosel.
 
