Quote:
Originally Posted by ajp_anton
But as mentioned, you can already create those conflicts with variable names. What makes array-name conflicts any different? Either you ignore the problem (allow conflicts), or you do something about it (throw error when conflicts happen, or require ()-brackets for functions), but you do the same thing with variable names and array names (aren't arrays also some kind of "variables"?).
Though I agree that []-brackets are better for arrays.
|
There are no function pointers, so I believe AVS will use the presence of the parentheses token to identify a function name instead of a variable.