I've come across an interesting issue with the IDE. I've been programming a role playing character generator and it uses several user defined variable types. My IDE colors are set to the QB64 default setting. Variables are bright white and keywords are light blue.
Here is one of my variable types:
TYPE skill
ident AS INTEGER 'unique ID # of skill
name AS STRING * 18 'name of skill
category AS STRING * 4 'category of skill
value AS INTEGER 'percentage of skill
base_per AS INTEGER 'base of skill
cat_per AS INTEGER 'category modifier
modified AS INTEGER 'number of modifications
exchk AS INTEGER 'experience check flag
END TYPE
Now the funny thing is, the 'name AS STRING * 18' element, unlike the rest of the elements, displays the "name" in keyword color, instead of white as the others are. There are two more variable types defined that also use 'name' as an element and they display the same way. I know now (having looked it up) that NAME is a keyword, which I do not use in its keyword capacity any where in the program, nor does it color the '{variable}.name' anywhere else in the program except within the TYPE declaration, but here's where it gets a little wierd.
It displays as the keyword color, but doesn't attempt to capitalize 'name', nor does the program have any errors related to that element. It runs just as expected in that respect. No issues that I can see.
Have I found a quirk of the IDE's keyword recognition, and does anyone think I should be changing the element as a precaution?