Set and return a last error code


Error code:

Set and return a last error code: 0


To process this page used the WaterSteamPro function "wspSETLASTERROR": set and return a last error code as function of error code ErrCode.

This function can be used to estimate error number: all error codes are enumerated starting from zero (no error) and increase subsequently with step 1. If a parameter overruns the function returns (and sets) zero - that means no error.


WaterSteamPro is a registered trademark of Moscow Power Engineering Institute (Technical University).

Copyright (c) MPEI (TU), 1999-2010.

Copyright (c) Konstantin A. Orlov, 1999-2010.