D 8.5, PC:

put "a".symbol
-- #a

----- Original Message ----- 
From: "Florian Bogeschdorfer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 9:34 AM
Subject: Re: <lingo-l> Bad Word List WEIRD


> Hi John,
> 
> this sounds very interesting. I'll give it a try.
> 
> Though I found out something weird folks, take a look at this (from the
> message window, D8 Mac):
> 
> put "a".symbol
> -- #A
> put "b".symbol
> -- #b
> put "aAbB".symbol
> -- #aAbB
> 
> Why does it change the "a" to uppercase and the rest not?
> 
> Best regards, Florian
> 
> 
> john wrote:
> > 
> > Hi Florian,
> > 
> > Im not sure if this comes in late by now.
> > Some time before, I have already asked this
> > on this list.  I got a reply from Irv Kalb.
> > He suggested that I used symbols with
> > the items on the list.
> > This makes getPos not case-sensitive.
> > 
> > a=[]
> > put a
> > -- []
> > add(a, symbol("one"))
> > put a
> > -- [#one]
> > add(a, symbol("two"))
> > -- [#one, #two]
> > add(a, symbol("three"))
> > 
> > put a
> > -- [#one, #two, #three]
> > put getPos(a,symbol("one"))
> > -- 1
> > put getPos(a, symbol("OnE"))
> > -- 1
> > put getPos(a,symbol("TWO"))
> > -- 2
> > put getPos(a, symbol("ThREe"))
> > -- 3
> > 
> > hth,
> > John Erazo
> > 
> > [To remove yourself from this list, or to change to digest mode, go to
> > http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> > email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> > Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 
> 


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to