ERROR Statement |
ERROR errorno [, row, col]
Raises an error with the specified error number and optionally row and column where the error occurred.
Example
ON ERROR GOTO _ERROR GRAPH.AddElement( nControl, strTitle, V1D( NEW( REAL, nFrames ), arr, i, 1 ) ) . . .
_ERROR: ' Get the error number and line number nErrNo = ERR nErrLine = ERRL
' Cleanup before exit GRAPH.Close( nControl, 0 ) ON ERROR GOTO 0
' Let caller know about the error ERROR nErrNo, nErrLine
|