ErrorOccurred is a preset variable of WLanguage indicating the result of the last WLanguage function used.
ErrorOccurred corresponds to:
- False if the last WLanguage function used was successful.
- True if the last WLanguage function used triggered a non-fatal error.
nFile is int
nFile = fOpen("C:\MyDirectories\File.txt", foReadWrite)
IF nFile <> -1 AND ErrorOccurred = False THEN
...
ELSE
Error(ErrorInfo())
END