Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
gomad
Level 9

roAssociativeArray issue

I am trying the check if my AA has something in it, so i did AA.count() > 0, it gives me an error :
Function Call Operator ( ) attempted on non-function. (runtime error &he0) in $LIVECOMPILE(3).
E.g:
AA = {
a: 34
b:dsd
count:54
}
The problem was the "count" key in the associative array. Is this expected??
0 Kudos
1 Reply
Komag
Level 9

Re: roAssociativeArray issue

yeah, having a key name the same as the count() function name, that's sure to brew up trouble!
0 Kudos