Error Handler BUG!!
Posted in 1995
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 >