|
darkspot Apprentice
Joined: 29 Jul 2002 Posts: 105
|
Posted: Fri Feb 27, 2004 12:16 am
Counting a list... |
I have looked, and have found multiple things dealing with count, or styles of ways, but is there a way to count how many items are in a list? like if...
#var testlist {item1|item2|item3|item4|item5}
exists
how would I found out... how many items are in there? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Feb 27, 2004 2:43 am |
Sure, %numitems(@testlist) would do the trick for your example. You can find all commands and functions that work with lists by way of the Related buttons at the top of the help page for any of them.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|