QUIT
The QUIT instruction allows you to close the variable without losing the work you have done. Normally, HotDocs will not save an invalid computation. The only way to exit an invalid computation is to click Cancel, which erases the script . The instruction is usually placed at the beginning of an unfinished or invalid computation.
For example, perhaps you aren't sure about the specific variable names that need to be included because the variables have not yet been created. Normally, HotDocs won’t allow an unfinished script to be saved. The QUIT instruction, though, makes this possible:
QUIT
IF Client History = "____"
SET ____ TO "Returning"
ELSE
SET ____ TO "New"
END IF
Another useful place to include a QUIT instruction is at the end of a computation, which allows you to enter "developer comments " about the computation script. You can also apply a comment block to the section of the script you don't want processed. To do this, select that section of the script and click the Comment Block button. (To uncomment the script, click the Uncomment Block button.)
If you use a QUIT instruction in a script, it will cause all the scripting after the instruction to lose its syntax -aware formatting. To restore this formatting once you remove the QUIT instruction, click the Auto Format button.