Code: Select all
\pgfoonew myArray = new Array(\x,\y)
\foreach \i in {0,...,(\x-1)} {
\foreach \j in {0,...,(\y-1)} {
\myArray.set(\i,\j, new object(some parameters))
}
}
Code: Select all
\pgfoonew myArray = new Array(\x,\y)
\foreach \i in {0,...,(\x-1)} {
\foreach \j in {0,...,(\y-1)} {
\myArray.set(\i,\j, new object(some parameters))
}
}
NEW: TikZ book now 40% off at Amazon.com for a short time.