General errors
These errors may occur either during compilation or when running a model.
- E-1 Internal error in `location' (errortype)
- 
  An unrecoverable error has been detected, Mosel exits. Please contact Xpress Support. 
- E-2 General error in `location' (errortype)
- 
  An internal error has been detected but Mosel can recover. Please contact Xpress Support. 
- E-4 Not enough memory
- 
  Your system has not enough memory available to compile or execute a Mosel model. 
- E-21 I cannot open file `file' for writing (driver_error)
- 
  Likely causes are an incorrect access path or write-protected files. 
- E-22 I cannot open file `file' for reading (driver_error)
- 
  Likely causes are an incorrect access path or filename or not read-enabled files. 
- E-23 Error when writing to the file `file' (driver_error)
- 
  The file could be opened for writing but an error occurred during writing (e.g. disk full). 
- E-24 Error when reading from the file `file' (driver_error)
- 
  The file could be opened for reading but an error occurred while reading it. 
- E-25 Unfinished string
- 
  A string is not terminated, or different types of quotes are used to indicate start and end of a string. Example: writeln("mytext)
- E-26 Identifier expected
- 
  May occur when reading data files: a label is missing or a numerical value has been found where a string is expected. Example: declarations D: range end-declarations initializations from "test.dat" D end-initializations Contents of test.dat:[1 2 3] The label D: is missing.
- E-27 Number expected
- 
  May occur when reading data files: another data type has been found where a numerical value is expected. Example: declarations C: set of real end-declarations initializations from "test.dat" C end-initializations Contents of test.dat:C: [1 2 c] c is not a number.
- E-28 Digit expected for constant exponent
- 
  May occur when using scientific notation for real values. Example: b:= 2E -10 E must be immediately followed by a signed integer ( i.e. no spaces).
- E-29 Wrong file descriptor number for selection (num)
- 
  fselect is used with an incorrect parameter value. 
- E-34 I cannot find IO driver `driver'
- 
  The system cannot locate the IO driver driver for opening a file. This may happen if the driver is provided by a module not already loaded in memory. To avoid this problem the module name should be given with the driver name. For instance use "mmodbc.odbc" instead of "odbc" alone. 
- E-35 Error when closing file `file' (driver_error)
- 
  An error occurred while closing a file. Typically the last write operation for clearing buffers failed. 
- E-36 Read error (file)
- 
  I/O error during file reading. 
- E-37 Invalid character
- 
  Invalid character sequence found while reading a text file, non-conforming to the current encoding. Possibly an incorrect encoding (Mosel default is UTF-8) has been specified for accessing this file. 
- E-38 Unknown compiler flag(s) `flag' ignored
- 
  Some of the flag(s) used with compile have not been recognized, please refer to the list documented for compile. 
- E-39 Unknown BIM reader flag(s) `flag' ignored
- 
  Some of the flag(s) used with load have not been recognized, please refer to the list documented for load. 
- E-40 Unsupported encoding `encoding' (ignored)
- 
  The encoding name specified after the marker !@encoding is unknown. 
 
