Can I get the number of rows from a LIst variable as a numeric variable?

I want to control the robot based on the number of rows of the List variable.
Can I get the number of rows from a LIst variable as a numeric variable?

Hi @tamotsu_itoieq

You can use a for-loop to increment a number variable, starting from 0, for each item in the list.

Shout if you need a code example.

Hope this helps :slight_smile:

1 Like

Hi @tamotsu_itoieq
you could also use expression value action for that list variable and “get size”

2 Likes

Thank you for supporting Athos & Tim.
Using expression value makes it easy to get the number of rows.
This is what I wanted to do.
Thank you.

1 Like