[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UPPER CASE & lower case
- To: wonchul@cattell.psych.upenn.edu (Wonchul Park)
- Subject: Re: UPPER CASE & lower case
- From: cfry@MIT.EDU (Christopher Fry)
- Date: Tue, 10 Mar 92 14:18:56
- Cc: info-mcl@cambridge.apple.com
> I have to deal with a case in which both Upper case and
> lower case alterntion has a significant meaning.
> For example, 'Cat', 'CAT', 'cat' and even 'cAt' have to
> be distinguished from each other. The obvious problem is
> that MCL does not recognize this difference.
> Now what should I do to teach this silly machine to recognize
> 'T' instead of 't'.
Unless you muck with the readtable [as previous responses suggested]
typed in names of symbols are converted to upper case. You can prevent
that from happening by surrounding your symbol with vertical bars.
Thus:
(symbol-name 'foo) => "FOO"
(symbol-name '|Foo| => "Foo"