Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brocker
Visitor

roAssociativeArray Count

Hi Gang,

Hopefully simple question, how do you get a count on items in a roAssociativeArray? I've tried a couple things, but not getting it.

Thanks!
Bud
0 Kudos
1 REPLY 1
jbrave
Channel Surfer

Re: roAssociativeArray Count

aa={one:"asdf",two:"wfwee",three:"asdfefef",four:"asefefe"}

z=0:for each object in aa:z=z+1:next:?z
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.