IsProcedure

Verifies that a user-defined subroutine or function is resident in RhinoScript's VBScript engine.

Syntax

Rhino.IsProcedure (strSubName)

Parameters

strSubName

Required.  String.  The name of a user-defined subroutine of function.

Returns

Boolean

True or False indicating success or failure.

Null

On error.

Example

If Not (Rhino.IsProcedure("MySubroutine")) Then

Rhino.Command "-LoadScript MyScriptFile.rvb"

End If

MySubroutine

Also See

AllProcedures