Checkbox to allow Case-(in)Sensitive source
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Checkbox to allow Case-(in)Sensitive source
Add a checkbox in the preferences to contemplate Case-Sensitive source code. :roll:
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
BBC BASIC is case sensitive. Argh! Horrible.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
The source code should have at the end one more line; something like: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.
; 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.
Then, DoubleDutch would uncheck the CheckBoxDoubleDutch wrote:BBC BASIC is case sensitive. Argh! Horrible.

And, as we can see, GPI would uncheck it too.GPI wrote:No BASIC is case-sensetiv.(Kein BASIC ist case-sensetiv)
Well, this feature should seem to have no much importance, but for sciencific programming is essential.
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.
Code: Select all
AberHallo
aberhallo
AbErHaLlO
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.
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Well, sorry, I think that's an insipid argument :roll: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.
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
In the old days there was no such thing as "checkboxes"Then, DoubleDutch would uncheck the CheckBox

In any event, maybe it should be that you should have to tick the "case-sensitive checkbox", to maintain compatibility!

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
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
)
(and hey, that's the way i like it

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
I don't get it, what has case sensitivity to do with the programs I'm writing and how does it affect the result???Psychophanta wrote:That's because your programs are oriented into a narrow and limited line.
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

<°)))o><²³