Jeff & Chip: Please change case insensitivity.
Phil Pilgrim (PhiPi)
Posts: 23,514
I've spent most of today tracking down a bug in the S2 object that could have been alleviated by a simple change in the compiler's case insensitivity policy. As it stands, the symbol MY_CONSTANT, for example, is completely equivalent to My_constant. What I would much prefer to see is a policy where all references to a symbol have to match the case of that symbol where it's defined, or else flag an error.
Note: I'm not advocating that symbols that differ only in case be different -- only that the case of a symbol where it's used must agree in case with that of its definition.
Thanks,
-Phil
P.S. As with allowing subdirectory references in the OBJ section, the sooner the better. (Whatever happened to that, BTW, along with a long list of other necessary mods and fixes to the Propeller Tool, years on the request list? I'm really getting tired of waiting!)
Note: I'm not advocating that symbols that differ only in case be different -- only that the case of a symbol where it's used must agree in case with that of its definition.
Thanks,
-Phil
P.S. As with allowing subdirectory references in the OBJ section, the sooner the better. (Whatever happened to that, BTW, along with a long list of other necessary mods and fixes to the Propeller Tool, years on the request list? I'm really getting tired of waiting!)
Comments
Phil,
Please see the other reply (not yet posted due to a conference call in 20 mins) "Open Letter to Jeff Martin" regarding the subdirectory references in the OBJ section. One topic at a time is a bit easier to manage.
The request for tracking case sensitivity is hereby incorporated into our list of possible Prop Tool improvements, but it is not a priority given other tasks. I think we would agree that your situation was unique - you had a constant and subroutine with similar names. The constant had been misspelled as a subroutine, putting the return value into your expression.
Using the Find function is one alternative, but an impractical one for long programs.
I'll put it on the list of possible Prop Tool improvements. Other alternatives will likely emerge before we accomplish this improvement.
Sincerely,
Ken Gracey
Parallax Inc.
Hanno