Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Storm Software — — source: Informix-list mailing list archive (1991-1998)
Here's a good one :
SCO UNIX 3.2.4
Informix R4GL V.4.11 UC2
Informix SE V.5.0
We use an error handling function in most of our programs so I was
rather surprised to see one particular error crashing with the
familiar command line suggestions.
At first I thought it was my error handling routine, but I confirmed
it wasn't by changing the error handler to WHENEVER ERROR CONTINE,
just so I could see the status.
I then tried the following program to be absolutely sure.
main
define x smallint
define r_char char(10)
whenever error continue
let x = 0
let r_char[x] = "H"
end main
I know the program will crash with error -1332, subscripts out of range,
but it is not caught by the whenever error continue. Change r_char
to a smallint or something just to get a different fatal error and it IS
caught by the CONTINUE statement.
How is this one slipping through? (Jonathan?)
Me or it?
--
Neil - @storm@aztec.co.za < ANOTHER ESSEX LAD >
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.