nil or #nil?

Tim Olson tim at jumpnet.com
Thu Aug 27 21:27:10 UTC 1998


Bob Jarvis wrote:

>How about
>
>	Symbol newFrom: 1 printString
>
>or maybe
>
>	Symbol internCharacter: $1


Or:

     1 printString asSymbol


[I had written in a previous message that you could use asSymbol to 
create symbols out of things which weren't identifiers, but I had 
forgotten that asSymbol only worked on Strings or Characters -- Bob's 
post reminded me that you had to perform "asSymbol" on the printString].



     -- tim





More information about the Squeak-dev mailing list