- {registration_date}
- сообщений: {posts}
- {tel_link}
use ui
class Iter
list; pos
function init(l)
this.list = l;
this.pos = 0
end
function next()
ui.busy();
ui.busy(this.list[this.pos]);
this.pos++;
end
end
i:Iter = Iter(['a', 'b', 'c', 'd', 'e'])
for k=0 to 4 by 1 do
i.next();
sleep(1000)
end
ui.busy()
ответ опубликован:
Рейтинг: 5
голосов: 2
- 5
- 1
- 2
- 3
- 4
- 5