Codes of errors in the WaterSteamPro's calculations
The function "wspGETLASTERROR()" returns code of the error occured in the last call of the WaterSteamPro function.
Possible values:
- "0" - "No error occurs" - there was no error;
- "1" - "Incorrect parameters: error in calculations with floating point";
- "2" - "Arguments are outside of applicable domain";
- "3" - "Limit of iterations is exceeded" – it is impossible to find value of density in the third region of IF-97. That error occurs if the given number of iterations (the function "wspGETMAXITERATION()") does not attain the required accuracy (function "wspGETDELTAPRESSURE()");
- "4" - "Can't understand water state region" – unknown region of water state;
- "5" - "Beta testing is over. Please get new version" – beta release program testing time is over (does not exist in the complete program version);
- "6" - "Registration error. Please reinstall WaterSteamPro" – safeguard error (occurs in unregistered version).
"7" - "This function is available only in registered version of the WaterSteamPro" – from version 5.2 all new functions work only in registered versions. It is not affect the functions getting from the earlier versions.
"8" - "This function is not implemented in current version of WaterSteamPro . Try newer version" - function is only declared in current version of the WaterSteamPro and can be implemented in next version of the program.
"9" - " Low memory"
"10" - "Registered status expired" - registration expired. Use next version of registration data.
"11" - "Syntax error." - there is syntax error in gas specification string.