[squeak-dev] Class names with underscores

Levente Uzonyi leves at elte.hu
Fri Jan 21 16:23:26 UTC 2011


On Fri, 21 Jan 2011, Igor Stasenko wrote:

> On 21 January 2011 16:12,  <mkobetic at gmail.com> wrote:
>> I'm being told that Squeak doesn't like class names with underscores. I'm using those for ExternalStructures to keep their names in sync with their C-side counterparts and I didn't notice a problem in Pharo. Is that something that is a problem for Squeak ? If so is there some sort of convention on how to convert such names when writing external bindings with FFI ?
>>
>
> if you set  'use underscore for selectors' and disable 'underscore for
> assignments' in preferences then class names should work as well,
> AFAIK.

In Squeak you can use both at the same time. The exact names are "Allow 
underscore assignments" and "Allow underscore selectors".


Levente

>
>> Thanks,
>>
>> Martin
>>
>>
>
>
>
> -- 
> Best regards,
> Igor Stasenko AKA sig.
>
>



More information about the Squeak-dev mailing list