Duplicate Identifier (Method and Field same names)

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

Well, in my type, I have a Global variable 'Count', and a Function called Count() which essentially returns Count. It doesn't seem that ambiguous to me because you need () for one and no () for the other. Ideally, Count wouldn't even be referenced by external objects (data hiding).

I could just name them differently, but i'd rather not if I didn't have to.