Thread
:
Why is some_function()[some_index] invalid syntax?
View Single Post
#
1
(
permalink
)
01-11-2008
Arlen Christian Mart Cuss
Posts: n/a
Why is some_function()[some_index] invalid syntax?
Hi there,
Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')
Thanks,
Arlen.
Arlen Christian Mart Cuss