Grasshopper

algorithmic modeling for Rhino

how to make a sum of the number in a list that come before that number

I have a problem. I am looking for a way to make a sum of  the number in a list that come before that number so when i have the list 1.2.3.8.7 i want it to become 1,3,6,14,21

The list length varies.

Views: 6402

Replies to This Discussion

thank you. I did not know mass addition has that feauture.

excellent, didnt even know that existed

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service