Tables Item Numbers

General questions that have to do with plugins go here

Tables Item Numbers

Postby Sheeva700 » Sun Feb 14, 2016 1:48 pm

Hi,

Did Hollywood had any command to know how much item is strored in a Table ( Array[] )

Ex:
Test.Item[0] = "AAAA"
Test.item[1] = "BBBB"
Test.Item[2] = "CCCC"

; Now wanted command

Items = TableLen(Test.Item)

; Then items must be equal to number of Items in "Test.Item"

Thx.
Sheeva700
 
Posts: 27
Joined: Sun Mar 22, 2015 9:24 pm

Re: Tables Item Numbers

Postby airsoftsoftwair » Sun Feb 14, 2016 2:44 pm

ListItems() is your friend.
User avatar
airsoftsoftwair
 
Posts: 2097
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Tables Item Numbers

Postby Sheeva700 » Sun Feb 14, 2016 2:47 pm

Unbelievable.

Thanks.
Sheeva700
 
Posts: 27
Joined: Sun Mar 22, 2015 9:24 pm


Return to General plugin questions

Who is online

Users browsing this forum: No registered users and 1 guest