Returns the current error message or the program line that caused the error.
MESSAGE([1]) |
Parameters
- [1]
-
Return the program source code that caused the error if MESSAGE( ) is included in an ON ERROR routine.
Note MESSAGE(1)is not available in the runtime.If the program source code is not available,
MESSAGE(1)returns one of the following:-
The entire program line if the line is macro-substituted.
-
A command if the line contains a command without any additional clauses.
-
A command followed by three dots (...) if the line contains a command and additional clauses.
-
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08