HotDocs Tips & Tricks

Tips, tricks and solutions with the HotDocs document assembly platform
Wednesday, September 23, 2009

HotDocs Instruction - QUIT


The HotDocs QUIT instruction specifies that any code in a computation after the QUIT instruction is to be ignored as code. There are two major uses for this instruction.

Firstly, because QUIT stops HotDocs processing a computation as code, it means that you can put it at the top of a computation to stop that computation from being processed.  Very handy if you are halfway through a computation or cannot otherwise make it work.

Secondly, you can use QUIT as a way to add developer comments - simply finish your computation code, enter the QUIT instruction at the bottom, then enter any comments you want after the QUIT command.

The reality is that the QUIT instruction doesn’t really do anything that comments don’t already do. And thanks to HotDocs’ “Comment/Uncomment” block function, its pretty easy to work with large sections of commenting code.

Posted by Ian Burrows
Page 1 of 1 pages

Statistics

Page Views: 25428
Page rendered in 0.1588 seconds
34 queries executed
Total Entries: 167
Most Recent Entry: 07/23/2010 04:36 pm
Total Members: 5
Total Logged in members: 0
Total guests: 15
Most Recent Visitor on: 09/03/2010 07:32 am
Most visitors ever: 33 on 09/02/2010 03:50 pm