Forum Discussion

gomad's avatar
gomad
Roku Guru
8 years ago

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??
  • yeah, having a key name the same as the count() function name, that's sure to brew up trouble!