M
marian.edu
Guest
My fault, the code as posted does not crash but taking out the check on num-entries from the begining of the function make it crash on 10.2. Its 10.2B, linux and if it makes any difference is on batch mode. / usr / dlc /bin/ bpro -p custom.p Batch processing will be performed using: OpenEdge Release 10.2B as of Mon Dec 14 17:00:19 EST 2009 root@daf20e454fca:/opt/akera# *** Error in `/ usr / dlc /bin/_progres': munmap_chunk(): invalid pointer: 0x0000000000d164b0 *** Received signal 6; handling as SIGHUP. (4375) HANGUP signal received. (562) However, the question is why doesn't that return error throw the error out of the function block... this doesn't work as expected (well, at least for me) either in 10.2 nor in 11.3. &if keyword-all('routine-level') ne ? &then routine-level on error undo, throw. &endif &if keyword-all('block-level') ne ? &then block-level on error undo, throw. &endif function fError returns character (): return error. end. procedure pError: return error. end. message fError() skip error-status:error view-as alert-box. run pError. catch e as Progress.Lang.Error : message 'error' view-as alert-box. end catch.
Continue reading...
Continue reading...