I think you mean pre-defined variable in BAAN.
If it is zero, then everything is o.k.
Otherwise (non-zero) there is an error.
The error can be determined by the number stored in e
Look up Error section in the BAAN Help.
The errors are 'classified' as follows:
1 to 99 are generated by the operating system (UNIX like)
100 to 899 are database errors
(for example: 100 means a duplicate during INSERT)
900 to 999 are network errors
The easiest way to look at the statement 'if not e' is to read it as 'if not error'. (It is a bit backward if one thinks too much about it.).
Last edited by shah_bs : 29th November 2016 at 23:12.