Hi teamers,

I was working on a demonstration exercise for students the other day and
gave myself one heck of a surprise.
The idea was that I could increment an integer variable past Integer'Last
and trap the ensuing uproar, doing something useful with it without crashing
the program.  Well, ...that was the idea :(

I am using GNAT 3.13p -- is this a problem with the compiler or have I
misunderstood the purpose of CONSTRAINT_ERROR all these years?  Do I have to
do a manual check for run-time errors like this or am I doomed to have my
jet plane turn upside down when the variable goes from positive to negative?

Keep the faith

Please: if you have not already done so, alter your addressbook settings for
me to
       [log in to unmask]
Rick Duley
Perth, Western Australia
tel: +61 040 910 6049                            /-_|\
                                                /     \
                                          perth *_.-._/
“Never be a pioneer.                                 v
    It's the early Christian
        that gets the fattest Lion."
            Saki (H. H. Munro (1870 - 1916))

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp