[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|            SYS(2018)            |
+---------------------------------+

-----------------------------------
Returns the error message parameter.
Return value - Character
-----------------------------------

Certain error messages return additional information about the cause of
the error.  For example, if you reference a memory variable that does
not exist, the name of the memory variable is included in the error
message.  SYS(2018) returns this additional information, called the
error message parameter.  Some examples of error message parameters are
memory variable names and files names.

+---------------------------------+
|            Examples             |
+---------------------------------+
If you try to run a program named REPORTS, and it does not exist:

DO REPORTS

The text of the error message displayed is:

File REPORTS does not exist.

REPORTS is the error message parameter, and it is returned by SYS(2018):

? SYS(2018)

REPORTS

-----------------------------------

See Also:  ERROR(), MESSAGE(), ON ERROR, SYS()

-----------------------------------

See Also: ERROR() MESSAGE() ON ERROR SYS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson