Page 1 of 1

how count item in loop

Posted: Fri Aug 31, 2018 11:35 am
by theimer
Hello,
is there any posobilities how count items in loop especialy in RegExp Loop? I know I can increment variable inside cycle, but I need to know total number of items immediately in first cycle because I am writing this value to database.

thank you for any idea
Libor

Re: how count item in loop

Posted: Fri Aug 31, 2018 1:49 pm
by Oleg
I know I can increment variable inside cycle, but I need to know total number of items immediately in first cycle because I am writing this value to database
In this case you have to make two loops
1-st loop to count items
2-nd loop to use total value and write information into database

Re: how count item in loop

Posted: Tue Sep 04, 2018 11:12 pm
by theimer
thank you