Ramine
unread,Dec 28, 2015, 12:54:51 PM12/28/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello.....
Here is the exception that you can catch in FreePascal if
you compile with the -Co option:
try
except
on EIntOverflow do HandleIntOverflow;
end;
And that's better than C++ and C, because on a more complex realtime
safety critical systems if you forget to test the overflow or underflow
you can risk more , but in FreePascal you can also catch the
EIntOverflow exception and this exception works for both
signed and unsigned 32 bit or 64 bit variables for multiplication
division and add etc. and that's better than C++ and C.
Thank you,
Amine Moulay Ramdane.