Hi Rene,
in my opinion, this is very important issue. I think we need to be able to name the UDT elements with any name, even when same as already defined keywords.
Not with quotes, but simply by default, out of the box, as it is in other languages.
ThinBASIC parser has the ability to know it is inside TYPE / END TYPE scope, so it should be possible.
Otherwise, we easily fall in completlely anti-future proof problems, like the one Rene describes.
The same should apply for parameter names of functions!
Petr
Bookmarks