Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!vice!bobb From: bobb@vice.ICO.TEK.COM (Bob Beauchaine) Newsgroups: comp.lang.pascal Subject: Re: IMPLEMENT GOTO ACROSS MODULES IN TURBO PASCAL?? Message-ID: <6622@vice.ICO.TEK.COM> Date: 9 Jan 91 19:49:57 GMT References: <11656@j.cc.purdue.edu> <7147@tekgen.BV.TEK.COM> <11661@j.cc.purdue.edu> Organization: Tektronix Inc., Beaverton, Or. Lines: 25 In article <11661@j.cc.purdue.edu> zhou@brazil.psych.purdue.edu (Albert Zhou) writes: >I use: > repeat > s1; > s2; > s3; > until c; > >However, in rare cases, s3 can be very time-consuming and by using the first >code, one can save the time to execute s3 when c is true. > Seems reasonably straight forward to use this construct to avoid a potentially time consuming routine: repeat s1; s2; if not c then s3; until c; Bob Beauchaine bobb@vice.ICO.TEK.COM