[comp.sys.mac.programmer] Overflow Checking from within Pascal

dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) (10/02/88)

  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!