## GETEMESS

PURPOSE:
To retreive an Error Message from an Error Structure

    STATEMENT SYNTAX:
    {stno} GETEMESS errstr,messvar,lflag

where:
errstr= str expression usually received by a BENTER statement
messvar= string var to receive message
lflag= 0 for short message; 1 for long message

    EXAMPLE:
    4230 GETEMESS EI$,A$,0;PRINT A$,

NOTE: Long error messages include an internal SM32 address of where the error occurred. This address is of no use to a business bacic programmer.
SEE: BENTER