Quote:
Originally Posted by Stephen R. Savage
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.
|
It does indeed, but in principle it could be extended to try x(1) as an array indexing if it finds that there is no function named x - just as now, when it finds plain 'x' and there is no variable called x, it tries to treat it as a parameterless function call x().
However, I don't think that would be a good idea and the availability of [] makes it unnecessary.