|
|
||
|
seq{rf90, delay#, acq}
seq{rf90, delay*, acq}
seq{rf90, *delay, acq}
seq{rf90, delay[], acq}
in which delay may be a table array of objects, and # or * means do the seq{rf90, delay[i], acq} for #delay times.
Its explicit call is
for i =1, #delay do
seq{rf90, delay[i], acq}
end
I'd like to use # or * or [] to keep user in mind that it means loop. It seems that we may need to define a special syntactic sugar? And is it possible to achieve the above goal? Thanks.