Disallow redefinition of built-in constants inside a module
Posted: Wed Jul 15, 2015 7:48 pm
Please disallow redefinition of built-in constants inside a module.
Currently, redefinition is allowed. But when trying to use such a constant outside of the module, a somewhat confusing error message is raised.
The situation would be clearer, if at the line of the constant definition in the module an error message such as "You cannot redefine a built-in constant." would be raised.
see http://www.purebasic.fr/english/viewtop ... 13&t=62591
Currently, redefinition is allowed. But when trying to use such a constant outside of the module, a somewhat confusing error message is raised.
The situation would be clearer, if at the line of the constant definition in the module an error message such as "You cannot redefine a built-in constant." would be raised.
see http://www.purebasic.fr/english/viewtop ... 13&t=62591