Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!hellgate.utah.edu!dog.ee.lbl.gov!usenet From: austern@ux5.lbl.gov (Matt Austern) Newsgroups: comp.sys.handhelds Subject: BREAK and RETURN on the 48sx: where are they? Message-ID: <8601@dog.ee.lbl.gov> Date: 14 Dec 90 20:39:21 GMT Sender: usenet@dog.ee.lbl.gov Reply-To: austern@ux5.lbl.gov (Matt Austern) Organization: Lawrence Berkeley Laboratory (theoretical physics group) Lines: 13 X-Local-Date: Fri, 14 Dec 90 12:39:21 PST As far as I can tell, the HP 48 doesn't provide any way to break out of a loop in the middle (in C, break), and doesn't provide any way to return from a function anywhere but the end. (in C, return). Yes, I know that it's always possible to avoid using these if you put in an extra test or flag, but sometimes they are convenient. Am I missing something very basic? Or if there really is no break or return, has anyone out there found a good kludge to simulate them? -- Matthew Austern austern@lbl.bitnet Proverbs for paranoids, 3: If (415) 644-2618 austern@ux5.lbl.gov they can get you asking the wrong austern@lbl.gov questions, they don't have to worry about answers.