@ezgikd wrote:
I am using Rhinoceros 5.0 with educational lab license. When I try to use debug the script button, I always get the same error in the following example. It gives error only when I use if statement. When I do not use if statement, debugger works well.
Here is the code that I copied from the help box examples, so there should not be any error but when I put a breakpoint and debug the script I get the following error. Thank you for your help in advance.
Option Explicit Call Main() Sub Main() Dim dblRadius, arrPoint dblRadius = Rhino.GetReal("Radius of new circle", 3.14, 1.0) If Not IsNull(dblRadius) Then arrPoint = Array(0, 0, 0) Rhino.AddCircle arrPoint, dblRadius End If End Sub
Posts: 1
Participants: 1