Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 773 Bytes

File metadata and controls

39 lines (31 loc) · 773 Bytes

FndError

Description

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 BOOLEAN

Remarks

This example isn't very helpful. JDW. [sd 8/14/98]

Examples

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')

Version

Availability: from All Versions

Category