Duplicate Identifier (Method and Field same names)

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

Incidently, traditionally accessor/mutator methods are prefixed with either 'Set' or 'Get', as fields are traditionally (in most non-BlitzMAX languages) 'private', which means inaccessable to other objects.

In your case the names would be SetCount and GetCount.