Tables Item Numbers

General questions that have to do with plugins go here
Post Reply
Sheeva700
Posts: 27
Joined: Sun Mar 22, 2015 9:24 pm

Tables Item Numbers

Post by 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.

User avatar
airsoftsoftwair
Posts: 2572
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Tables Item Numbers

Post by airsoftsoftwair » Sun Feb 14, 2016 2:44 pm

ListItems() is your friend.

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

Re: Tables Item Numbers

Post by Sheeva700 » Sun Feb 14, 2016 2:47 pm

Unbelievable.

Thanks.

Post Reply