DSCheckRoutine

Use the DSCheckRoutine function to see if a BASIC routine is catalogued, either in the VOC as a callable item, or in the catalog space.

Syntax


Found = DSCheckRoutine(RoutineName)

RoutineName is the name of BASIC routine to check.

Found Boolean. @False if RoutineName not findable, else @True.

Example


rtn$ok = DSCheckRoutine("DSU.DSSendMail")
If(NOT(rtn$ok)) Then
   * error handling here
End.