foreach in default zenno blocks

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
Implement in some way foreach loop in default zenno options.

I even do not know how I could live without this before I knew basic C# :-)

Cheers
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
Isn't that how it works right now when you get a line from a list and loop it?

foreach(listItem as VAR){
//good end, do something with the variable.
}
// bad end, out of lines from the list.
 

Ben

Новичок
Регистрация
17.02.2015
Сообщения
5
Благодарностей
1
Баллы
3

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
while is already implemented.
right click on group of actions - Repeat in loop
Something I'd like to be added is the possibility to connect a block to another in the same group without creating an additional group/ one block.
It would be really helpful within bigger templates with many loops to keep it clean, without having to add single blocks or useless alerts just in order to create a loop.

Right now it works as in the first pic. 2 solutions, one is as mentioned above (second pic), or be able to set the condition in the group header (third pic)
Any chance we can get this added?
 
  • Спасибо
Реакции: dmitya

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
If blocks should be separate
first pic is correct. others are wrong
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
i understand what you mean, it was discussed several times already. it will not be implemented
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)