Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!csun!polyslo!dorourke From: dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) Newsgroups: comp.sys.mac.programmer Subject: Overflow Checking from within Pascal Message-ID: <4276@polyslo.CalPoly.EDU> Date: 1 Oct 88 22:53:52 GMT Reply-To: dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) Organization: Cal Poly State University -- San Luis Obispo Lines: 18 Is there anyway to do Overflow checking for LONGINT's from within pascal with out having to turn on overflow checking. I would like to avoid overflow checking because it generates a nasty system error, and I just want to be "flagged" if the operation overflows. Would it be possible to write an Assembly language routine to do this and then link it into Pascal as a function. I'm not real up on 68000 assembly. Any help would be appreciated. Please e-mail responses. I'll summarize the responses if requested. Thankyou -- David M. O'Rourke dorourke@polyslo.calpoly.edu "If it doesn't do Windows, then it's not a computer!!!" Disclaimer: I don't represent the school. All opinions are mine!