View Single Post

  #1 (permalink)  
Old 01-11-2008
Arlen Christian Mart Cuss
 
Posts: n/a
Default 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.
Reply With Quote