RTF:Error Access
<< Click to Display Table of Contents >> RTF:Error Access |
![]() ![]() ![]() |
Type | ShortInt |
Purpose
This access returns an error code which identifies the error encountered while parsing the RTF stream. The error codes are:
RTF_ERRORASSERTION |
Assertion failure |
RTF_ERRORBADTABLE |
RTF table (sym or prop) invalid |
RTF_ERROREOF |
End of file reached while reading RTF |
RTF_ERRORINVALIDHEX |
Invalid hex character found in data |
RTF_ERRORSTACKOVERFLOW |
Too many '{' or memory exhausted |
RTF_ERRORSTACKUNDERFLOW |
Unmatched '}' |
RTF_ERRORUNMATCHBRACE |
RTF ended during an open group. |
RTF_INVALID |
Failed to initialize correctly |
RTF_OK |
Everything's fine |
Example
// If not valid, find out why
if !oRTF:IsValid
? oRTF:Error
endif