goto

goto (I love the cartoon's disclaimer.)

That said I do use goto's in one major situation.  At the beginning of any routine to check conditions and immediately exit.  For example if I want to update some rates has the service tech rate been entered on the form.   I see no reason to have lengthy If then else endif statements with indented code for no particularly good reason.

Other times, which don't happen often, well, you have to.  There is no easy way to code around it. 

Published Sun, Jul 22 2007 16:27 by Tony
Filed under: , ,

Leave a Comment

(required) 
(required) 
(optional)
(required)