Initializing help system before first use

xpress.getlasterror

xpress.getlasterror


Purpose
Returns the last error encountered during a call to the Xpress global environment.
Synopsis
(i,s) = xpress.getlasterror()
Arguments
Error code
Error message relating to the global environment will be returned.
Example
import xpress as xp
# last error referring to the global environment
print(xp.getlasterror())