Re: WHENEVER ANY ERROR
Posted in 1997
Alan Denney wrote: > > In article <19970730134100.JAA12856@ladder02.news.aol.com>, > Jojean <jojean@aol.com> wrote: > >We are changing some 4GL programs to use WHENEVER ERROR to > >WHENEVER ANY ERROR. > > Good move, generally. > > > We have gotten some strange results. I have found a nasty bug in 4GL 6.02 on SCO where attempts to turn off the error trapping fail. This results in a C error in the next function when it can't find the label the WHENEVER ERROR GOTO directive referred to in the previous function. Sounds as if this problem is unrelated, though. If not, add WHENEVER ERROR CALL no_action where no_action() is a do-nothing function you write. Ever wished 4GL had real error trapping and frames like SPL? -- Peter Lancashire Mail: Peter.Lancashire.PL1@bayer.co.uk Information Systems Specialist, Bayer plc Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK Tel: +44-1635-562258, Fax: +44-1635-562281 All opinions are my own and not those of Bayer plc.