[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to write command for unlimited time
- From: bil til <biltil52@...>
- Date: Thu, 2 Mar 2023 07:18:51 +0100
Alternatively:
repeat
...
until false
or
for i in infinite_repeater do
...
end
function infinite_repeater()
return true
end
(or similar, sorry I did not try this last case, and I am not SO
familiar with these iterator functions yet, but really nice concept
somehow, especially as they use their own upvalues.)