Navigation: ABC Library Reference > ErrorClass > ErrorClass Methods >====== SubsString (resolves error message macros) ====== | |
SubsString, PROTECTED
The SubsString method returns the current error message text with all runtime macros resolved.
Implementation:
The TakeFatal, TakeNotify, TakeUser, and Message methods call the SubsString method to resolve macros.
Return Data Type: STRING
ErrorClass.TakeFatal PROCEDURE
CODE
MESSAGE(Self.SubsString() & ' Press OK to end this application', |
Self.Errors.Title,ICON:Exclamation,Button:OK,BUTTON:OK,0)
HALT(0,Self.Errors.Title)
RETURN Level:Fatal
See Also: FileName, FieldName, Message, MessageText, TakeFatal, TakeNotify, TakeUser