is there no way to direct have the counters for list
#1
Inisde my addon I use multiples list , what I need is a way to determine
howmany members the list has ...
I use the following inside my code that works
Code:
parameters = 0
for number in __exec_dvd__:
     parameters = parameters + 1
In the above sample __exec_dvd__ is list.
The var parameters now has the correct number ...
Is this the only way to determine the number ?
Cu Hans
Reply
#2
len(__exec_dvd__)
Reply
#3
thanks , ways better than a foor loop
Cheer Hans
Reply

Logout Mark Read Team Forum Stats Members Help
is there no way to direct have the counters for list0