Just found out that the Err and ErrApi are kept local.
When i have an err in a special proc. to open a file for example, i tried to read the err result in the calling proc.
Unf. this read 0.
Is there a mode in PB to make this one global?
(The example above WAS just an example, normally the proc. returns the filehandle or sort of, this would conflict with a err value, tricks enough of course.)
When i have an err in a special proc. to open a file for example, i tried to read the err result in the calling proc.
Unf. this read 0.
Is there a mode in PB to make this one global?
(The example above WAS just an example, normally the proc. returns the filehandle or sort of, this would conflict with a err value, tricks enough of course.)
Comment