09-09-2022, 04:19 PM
(This post was last modified: 09-09-2022, 04:27 PM by mnrvovrfc.
Edit Reason: More clarification
)
(09-09-2022, 01:25 PM)TDarcos Wrote: Well, there is one possibility, the commandNope, because some people right now depend on "a$" being different from "a AS UDT" or something like that. The QB64 source code might feature it.
OPTION _UNIQUE
There's no need for it anyway because it has to do with using type sigils, or not using them. If you define a variable without sigil, such as "a AS UDT" then the compiler strictly expects it to be that type always, but would treat "a$", "a&&" and other "variations" of variable called "a" differently. QB64 was purposely designed like that. The "default" mode of Freebasic doesn't really offer the choice, whether or not to have variable name "duplicates". Only for string functions like "STR$()" it could ignore the dollar sign but a string variable might not be allowed to carry any sigil. It should be the same in "lang qb" mode as in QB64.