Grasshopper

algorithmic modeling for Rhino

hi all,
I am wondering why I get a "System.OutOfMemoryException" when I write the following code in the VB component.

For i As Integer = 0 To 1 Step 0.1
      print(i)
Next

Views: 249

Replies to This Discussion

hum :) the first learning step ^^, you have to set i as double :

For i As Double = 0 To 1 Step 0.1
Print(" i = " & i)
Next

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service