Here is a nested while-loops executed on the init callback that I can't make it finish, since it stop somewhere when the instruments have many groups, and everything that is after it.
Tons of things have been left out to make it very simple here, leaving only the "add_text_line", but as it flow, it should go storing values on big arrays.
Code: Select all
$groups := 0
while ($groups < $NUM_GROUPS)
add_text_line($whatever, group_name($groups) & " " & $groups)
$acount := 0
while ($acount < 40)
add_text_line($whatever,"acount: " & $acount)
$xcount := 0
while ($xcount < 9)
add_text_line($whatever,"xcount: " & $xcount)
inc($xcount)
end while
inc($acount)
end while
inc($groups)
end while
