SIMPOL Documentation

Error Codes


In SIMPOL as is the case in virtually every other programming language, there are error codes in order to provide usable feedback in the event of something unforeseen occurs. Some of the error codes are fixed, others may yet change. All error values beginning with 1000000 are old Superbase based errors. An error from PPCS such as 1000010 is equivalent to the error number 10 in Superbase (end of file). Error values that begin with 2000000 are operating system errors that are passed back to you through us. Subtract 2000000 from them to get the original operating system error value.


Error variables that are passed into functions are not always written to! Do not assume that if there is no error that the variable will be assigned the value zero. This is not the case. Error variables are only written to if an error condition occurs!