[Pharo-project] Underscores in Tables

Henrik Johansen henrik.s.johansen at veloxit.no
Wed Jun 29 07:57:49 EDT 2011


On Jun 29, 2011, at 1:44 04PM, Friedrich Dominicus wrote:

> Sorry for bothering you, how do  I use Symbols with Underscores.
> I have a database which uses _ as word seperator and so I got names like
> foo_bar. Now if I access the dictionary with 
> dict at: #foo_bar 
> 
> I get an error message (nothing more epected) 
> 
> What am I supposed to do to use such Symbols with  _ in it?
> 
> Thanks
> Friedrich

Enclose the name in quotes:
#'foo_bar'

Cheers,
Henry




More information about the Pharo-dev mailing list