My mind is a bit jumbled. I want to concatenate several for loops into one list to achieve this.
In other words pass the last "Y" value of the _txt() to the next loop. The ???? in the code ecample.
Code: Select all
ti = #casW_list + #casC_list
if casW_list ~= nil then
for i = 1, #casW_list do
_rect(225,115+(i*20),190,20)
_fill("red")
_txt(casW_list[i],robR_20yelL,230,125+(i*20))
end
end
if casC_list ~= nil then
for i = 1, #casC_list do
_txt(casC_list[i],robR_20yelL,230,????+(i*20))
end
end
Keith