David C Brown schreef op 07-Apr-14 10:44 PM: > Of course a GOTO can go anywhere but it actually goes to where the > programmer chooses. To continue my analogy: you can choose to drink a > whole bottle of scotch or a single measure; similarly you can GOTO a > location a thousand lines away or you can GOTO a nearby location. > > The central problem is not the goto, but the label it jumps to. When you=20 see a goto, you can look for the label until you found it. When you see a label, you can look for goto's that jump there, but you=20 can never be sure that you found them all. To reason abour the state your SW is in after the label, you must have=20 found all the goto's that jump there, and then mentally merge the states. Wouter --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .