Hi all.
How do I do the following in VFP7.0?
Can't find these statements in VFP7.0. I know there's ON ERROR out there, but the above is the way I'm used to do error handling (doing Delphi and .NET).
How do I do the following in VFP7.0?
Code:
nHandle = 0
TRY
nHandle = FOPEN("foo.txt")
< do some stuff >
CATCH
MESSAGEBOX("IO error...")
FINALLY
IF nHandle > 0 THEN
FCLOSE(nHandle)
ENDIF
ENDTRY
Can't find these statements in VFP7.0. I know there's ON ERROR out there, but the above is the way I'm used to do error handling (doing Delphi and .NET).