Re: d3 case sensitivity notes / query

69 views
Skip to first unread message
Message has been deleted

Scott Ballinger

unread,
Jan 21, 2013, 10:47:10 PM1/21/13
to mvd...@googlegroups.com
Note also that if you compile programs with "basic" it will complain about lower case keywords, functions, etc.
Use "compile" and you get "print" is same as "PRINT"

/Scott Ballinger
Pareto Corporation
Edmonds WA USA
'206 713 6006

On Monday, January 21, 2013 1:32:34 PM UTC-8, fwinans wrote:
Have I got these right about D3 case sensitivity? 
  a) variable names in basic are always case insensitive,
         that is,   TOM and toM  are same variable
  b) In  LIST / SORT commands  the clause
        WITH A3 = "fred"    will match items having "FRED"
       if  the command   CASE    reports CASE INSENSTIVE.
       CASE  (F   turns it to this setting, which is the default
       as installed from the vendor anyway, and CASE (N turns
       it to CASE SENSITIVE.  The settings in basic SYSTEM(27)
       are 0 for CASE (N, 1 for CASE (Y  in effect on that pick port.
 c) At start of a basic program run, this SYSTEM(27) gets copied
     to SYSTEM(28) which affects string comparisons inside the
     program.  CASING ON  basic command 
       sets (28) to 1,   CASING OFF clears it to 0.

A)  above kind of surprised me, but I'm glad it works like that... 
Reply all
Reply to author
Forward
0 new messages