P
Paul Sperling
Guest
A 1 isnt it. when I write the 1 have the 1 a another calour but in the tutorial the 1 is white. How I do this? Thanks for help!
Attachments
-
10.4 KB Views: 39
An alternative to not using certain characters in variable names would be to find a better programming font to help distinguish those characters. It looks like OP is using Courier New, which -- despite being the default on many Windows programs -- is a fairly bad programming font. Nearly no difference between 1 and l and no slashed/dotted zero, among other issues. Consolas is barely any better and still has the same issue with the former, with the added issue of 8 and & being easier to confuse.it should be i (lower case letter) not the number 1. variables must always start use a letter up front. I try to avoid letter I and 1 and O and 0 just for that reason. best to avoid confusion is your can
I never thought Iād see you post anything more useful than your āHow to PM a userā guide, but here we are.I code in wingdings soo, I can easily distinguish different characters, even if syntax highlighting tells me what type of keyboard key i pressed such as 1 and 0 being red for Constants and I and O being blue for Variables and Yellow for Local Variables
though you can change the colors in the preferences