CoCoA:GetErrMesg

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GetErrMesg

returns the message associated with an error

Description

This function returns the error message associated with an error.

Example

  Str := GetErrMesg(1/0);
  PrintLn Str;
Division by zero

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

Syntax

GetErrMesg(E:ERROR):STRING

Catch

Error

   <type>error</type>