![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Can anybody give me one advantage of case sensitivity? |
#4
| |||
| |||
|
|
Hi Can anybody give me one advantage of case sensitivity? Given that the designers of US-ASCII deliberately made case insensitivity simple by lining up the characters so that one only has to ignore the lead bit, it does seem to be one of the stranger ideas introduced to the Pick model long after its release. Peter McMurray Well we don't _like_ it, but sometimes we have to deal with it to handle |
#5
| |||
| |||
|
|
"Excalibur21" wrote> Hi Can anybody give me one advantage of case sensitivity? *Given that the designers of US-ASCII deliberately made case insensitivity simple by lining up the characters so that one only has to ignore the lead bit, it does seem to be one of the stranger ideas introduced to the Pick model long after its release. Peter McMurray Well we don't _like_ it, but sometimes we have to deal with it to handle special requirements; *for example * * *a) *filenames in aix/unix/linux *stored in an attribute oritem id of pick file * * *b) you are implementing an encryption or hashing or compression scheme, *as a proof-of-concept, in basic. * * c) Your application accepts one-keystroke commands, and there aredozens *of valid commands. *Such as 'move to row A-Z or to column a-z' * * e) you're detecting or converting certain escape code strings, perhaps terminal or printer data that you were mandated to clean up _after_ it was formatted. * * f) you're bulk-cleaning mass amounts of badly-formatted prose or envelope *address blocks, and some of your conversion rules are case sensitive. |
#6
| |||
| |||
|
|
it does seem to be one of the stranger ideas introduced to the Pick model long after its release. |
#7
| |||
| |||
|
|
On Mar 25, 3:21 pm, Excalibur21 <pgmcmur... (AT) gmail (DOT) com> wrote: it does seem to be one of the stranger ideas introduced to the Pick model long after its release. Hi Peter, My recollection is the opposite: R83 was case sensitive, it was not until AP that case insensitivity became an option; I think the default setting of AP and D3 is "casing on"- I always explicitly turn it off in the user or logon macro. Same goes for the original BASIC verb- case sensitive, AP/D3 flavor COMPILE - case insensitive. The wrinkle introduced in AP/D3 was case insensitivity of item-ids, in order to remain backwards compatible you have to specifically make files case sensitive, e.g. "create-file (s" DOS is case insensitive, Unix not so much. /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Perhaps as a tie breaker... R83 was case sensitive at TCL and in BASIC statements. For data, dict items also perceived data in a case sensitive manner. (Which is why we needed to do do the trick where MCT was both a conversion and a correlative in order to get nice output with case-insensitive filtering.) Some MV systems/flavors are still like that. When a user enters data, IIRC R83 was even case sensitive at INPUT, which is why we needed to do this: INPUT YN IF YN = "Y" OR YN = "y" THEN ... Some systems are still finicky about that and for cross-platform mobility I still occasionally code like this: IF OCONV(YN,"MCU") = "Y" THEN ... Because some systems have UPCASE() and others UCASE(), I avoid the functions and go with the OCONV(). AP (maybe OA) introduced complete case insensitivity across the board, too much for some people, but for me and others it was perfect. IIRC, GA R91 had this too, and other MV platforms were getting it at about the same time (1991). Even today I still get hung up with freakin stupid casing issues in some platforms (U2 in particular) but in D3 I simply don't need to think about it, and that's why it's important. As Scott mentioned, D3 has controls that allow case-sensitivity to be implemented for keys, data, and in BASIC - to allow D3 to look as primitive as all of the other MV variants for sites that require it. ![]() With regard to "It was about the time of AP that someone dreamed up the idea that all Item IDs should be numeric." I've never heard of such a thing. Perhaps you dreamed that up? ![]() T |
#10
| |||
| |||
|
|
Perhaps as a tie breaker... R83 was case sensitive at TCL and in BASIC statements. *For data, dict items also perceived data in a case sensitive manner. *(Which is why we needed to do do the trick where MCT was both a conversion and a correlative in order to get nice output with case-insensitive filtering.) *Some MV systems/flavors are still like that. When a user enters data, IIRC R83 was even case sensitive at INPUT, which is why we needed to do this: INPUT YN IF YN = "Y" OR YN = "y" THEN ... Some systems are still finicky about that and for cross-platform mobility I still occasionally code like this: IF OCONV(YN,"MCU") = "Y" THEN ... Because some systems have UPCASE() and others UCASE(), I avoid the functions and go with the OCONV(). AP (maybe OA) introduced complete case insensitivity across the board, too much for some people, but for me and others it was perfect. *IIRC, GA R91 had this too, and other MV platforms were getting it at about the same time (1991). *Even today I still get hung up with freakin stupid casing issues in some platforms (U2 in particular) but in D3 I simply don't need to think about it, and that's why it's important. As Scott mentioned, D3 has controls that allow case-sensitivity to be implemented for keys, data, and in BASIC - to allow D3 to look as primitive as all of the other MV variants for sites that require it. ![]() With regard to "It was about the time of AP that someone dreamed up the idea that all Item IDs should be numeric." *I've never heard of such a thing. *Perhaps you dreamed that up? * ![]() T |
![]() |
| Thread Tools | |
| Display Modes | |
| |