Function FndError returns whether an error has occurred within a VectorScript subroutine. Provided as a debugging tool, FndError receives notification after execution of every line of code whether an error has occurred.
FUNCTION FndError : BOOLEAN;def vs.FndError():
return BOOLEANThis example isn't very helpful. JDW. [sd 8/14/98]
resultOK := FndError;import vs
# Function FndError returns whether an error has occurred within a
# VectorScript subroutine.
ok = vs.FndError()
if ok:
vs.Message('FndError succeeded')
else:
vs.Message('FndError failed')Availability: from All Versions