GetErrMesg -- returns the message associated with an error |
Syntax |
GetErrMesg(E: ERROR): STRING |
Description |
Example |
/**/ ErrMsg := ""; Try F := 1/0; UponError E Do ErrMsg := GetErrMesg(E); EndTry; -- no error is thrown with Try .. UponError .. EndTry /**/ ErrMsg; Division by zero or by a zero-divisor |
See Also |