Duplicate Identifier (Method and Field same names)

BlitzMax Forums/BlitzMax Programming/Duplicate Identifier (Method and Field same names)

Hi,

Unfortunately, allowing duplicate identifiers gets really messy really quickly.

For example, it *is* legal to refer to the Count function without using brackets. In this case, you get a function address which can be assigned to a function pointer etc.

There are other, more subtle variations on this and, all in all, disallowing such ambiguities means the language stays far more flexible.