Path: utzoo!attcan!uunet!know!sdd.hp.com!elroy.jpl.nasa.gov!ncar!ames!eos!data.nas.nasa.gov!mustang!nntp-server.caltech.edu!piglet!madler From: madler@piglet.caltech.edu (Mark Adler) Newsgroups: comp.sys.handhelds Subject: Re: Breaking out of loops on the HP-48SX Message-ID: <1990Nov11.231533.27488@nntp-server.caltech.edu> Date: 11 Nov 90 23:15:33 GMT References: <1990Nov11.002758.4933@nntp-server.caltech.edu> <17166@shlump.nac.dec.com> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology, Pasadena Lines: 17 Nntp-Posting-Host: piglet.caltech.edu Eric Postpischil points out: >madler@piglet.caltech.edu (Mark Adler) writes: > >> You can put the loop in an IFERR statement, and then divide by >> zero or some such thing to cause an error. > >To generate an error, you can use the DOERR command. > > > -- edp Thanks. A "0 DOERR" is much cleaner, in that it does not affect ERRN or ERRM (which records the last error). Mark Adler madler@piglet.caltech.edu