User Tools

Site Tools


example:variables_and_loops

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
example:variables_and_loops [2017/01/05 09:38]
phil
example:variables_and_loops [2024/07/17 11:06] (current)
dan [Example(s)]
Line 14: Line 14:
 * Declare a 5X5X5 block of nodes * Declare a 5X5X5 block of nodes
 Var,N* node counter Var,N* node counter
-VarX,​1,​2,​3,​4,​5*X coords +Var,X,​1,​2,​3,​4,​5*X coords 
-VarY,​1,​2,​3,​4,​5*Y coords +Var,Y,​1,​2,​3,​4,​5*Y coords 
-VarZ,​1,​2,​3,​4,​5*Z coords+Var,Z,​1,​2,​3,​4,​5*Z coords
 ForEach,​Z,​ForEach,​Y,​ForEach,​X,​N,​@N++,​@X[#​],​@Y[#​],​@Z[#​] ​ ForEach,​Z,​ForEach,​Y,​ForEach,​X,​N,​@N++,​@X[#​],​@Y[#​],​@Z[#​] ​
 </​code>​ </​code>​
example/variables_and_loops.txt · Last modified: 2024/07/17 11:06 by dan