Page 1 of 2
Checkbox to allow Case-(in)Sensitive source
Posted: Sat Jan 15, 2005 3:41 pm
by Psychophanta
Add a checkbox in the preferences to contemplate Case-Sensitive source code. :roll:
Posted: Sat Jan 15, 2005 4:19 pm
by GPI
No BASIC is case-sensetiv.
Posted: Sat Jan 15, 2005 4:29 pm
by DarkDragon
GPI wrote:No BASIC is case-sensetiv.
??? Eindeutig zweideutig ???
No, BASIC is case-sensetiv.(Nein, BASIC ist case-sensetiv)
No BASIC is case-sensetiv.(Kein BASIC ist case-sensetiv)

Posted: Sat Jan 15, 2005 4:38 pm
by Psychophanta
GPI wrote:No BASIC is case-sensetiv.
PureBasic > Basic
Posted: Sat Jan 15, 2005 5:11 pm
by freedimension
And how exactly should we handle all the code posted here? One code with Case-Sensitivity on the other is case-insensitive -> confusion is programmed.
Posted: Sat Jan 15, 2005 10:39 pm
by GPI
No BASIC is case-sensetiv.(Kein BASIC ist case-sensetiv)
Posted: Sat Jan 15, 2005 10:48 pm
by DoubleDutch
BBC BASIC is case sensitive. Argh! Horrible.
Posted: Sat Jan 15, 2005 11:50 pm
by Psychophanta
freedimension wrote:And how exactly should we handle all the code posted here? One code with Case-Sensitivity on the other is case-insensitive -> confusion is programmed.
The source code should have at the end one more line; something like:
; CaseSensitiveSyntax=On
So then, if the CheckBox is enabled (Case-Sensitive ON) then this line should be added to the source code when saved, else don't.
DoubleDutch wrote:BBC BASIC is case sensitive. Argh! Horrible.
Then, DoubleDutch would uncheck the CheckBox
GPI wrote:No BASIC is case-sensetiv.(Kein BASIC ist case-sensetiv)
And, as we can see, GPI would uncheck it too.
Well, this feature should seem to have no much importance, but for sciencific programming is essential.
Posted: Sun Jan 16, 2005 12:15 am
by GPI
btw: I found it a very bad programming style, when somebody use this names
for diffrent variables...
Edit:
For C++ make case-sesetive sense, because there are no marks for constants and variables (thats why normaly all C-Constants are writte in UPPER CASE). But in PureBasic you must add a '#' in the front of the name to mark a constant, so case sensetiv is not really needed.
Posted: Sun Jan 16, 2005 12:53 am
by Psychophanta
GPI wrote:
For C++ make case-sesetive sense, because there are no marks for constants and variables (thats why normaly all C-Constants are writte in UPPER CASE). But in PureBasic you must add a '#' in the front of the name to mark a constant, so case sensetiv is not really needed.
Well, sorry, I think that's an insipid argument :roll:
Posted: Sun Jan 16, 2005 1:02 am
by DoubleDutch
Then, DoubleDutch would uncheck the CheckBox
In the old days there was no such thing as "checkboxes"
In any event, maybe it should be that you should have to
tick the "case-sensitive checkbox", to maintain compatibility!
-Anthony
Posted: Sun Jan 16, 2005 1:57 pm
by blueznl
i think this discussion has been going on for a long time without any real results... pb is currently not case sensitive, and probably it will stay that way
(and hey, that's the way i like it

)
Posted: Sun Jan 16, 2005 3:04 pm
by Psychophanta
That's because your programs are oriented into a narrow and limited line.
Well, I disagree, that's all

Posted: Sun Jan 16, 2005 4:04 pm
by aaron
case sensitive = monster pain in the *ss when coding/debugging.
That's about all there is to say. There is no good reason to have variables with the same name but different cases. None.
Posted: Sun Jan 16, 2005 4:36 pm
by freedimension
Psychophanta wrote:That's because your programs are oriented into a narrow and limited line.
I don't get it, what has case sensitivity to do with the programs I'm writing and how does it affect the result???
Also, bring forward only one reason why case sensitive identifiers are badly needed (because you are used to from other languages doesn't count btw

)