Macro Language Reference > Macros > System > quit
  
quit
Description
Quits or exits PTC ALD using various options.
 
Example 240. Exit PTC ALD without showing a warning dialog box
quit 1
Syntax
quit code:n
code
Ø|0
Exit PTC ALD and display a warning dialog box if a file has unsaved edits. Otherwise, exit PTC ALD without a warning dialog box.
1
Exit PTC ALD and do not display a warning dialog box.
2
Exit PTC ALD and save the document as zap.3d. The last option is intended as a last resort if you 'lock up' or 'crash' , or if you are getting an endless stream of error messages.