GetErrorCode
GetErrorCode is a Vision Data Access function that returns a diagnostic code from most structures and functions. For more information, see Vision Data Access Functions.
Note: If no error
code is available for the #ERR, GetErrorCode will return -1.
Using GetErrorCode
The general syntax of GetErrorCode is as follows:
GetErrorCode(Structure)