[OpenSCAD] OpenSCAD and data flow languages
soronlin+openscad at googlemail.com
Tue Oct 25 08:31:25 EDT 2016
Rather than tie up the Plogon thread any more, I'll drop this here.
I was considering for loops and functional language last night.
What about adding some more parameter passing like this:
Then we need a little more syntax:
for x in list
y = 0
y = old y + 1
"y" refers to the parameter that is to be handed off to the next recursion
and "old y" refers to the parameter that was passed to this recursion.
View this message in context: http://forum.openscad.org/OpenSCAD-and-data-flow-languages-tp18521p18797.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
More information about the Discuss