06-02-2023, 11:27 AM
(06-02-2023, 11:19 AM)Dimster Wrote: When I get a "Duplicate definition" error it's seems to always be related to my misuse of the CONST statement. Somewhere in my program I tried to change the variables value when it supposed to have been fixed.
Always place:
OPTION _EXPLICIT
as your very first line of code. This will catch the most common variable related errors during the coding phase.