how count item in loop

Discuss RoboTask here
Post Reply
theimer
Posts: 16
Joined: Wed Aug 22, 2018 10:35 pm

how count item in loop

Post 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
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: how count item in loop

Post 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
Oleg Yershov
theimer
Posts: 16
Joined: Wed Aug 22, 2018 10:35 pm

Re: how count item in loop

Post by theimer »

thank you
Post Reply