Interface class in Squeak
Todd Blanchard
tblanchard at mac.com
Tue Jun 7 04:07:10 UTC 2005
What do you want the interface for?
If it is just to provide a place to declare some useful constants and
share them with a few classes, then you may want a PoolDictionary
kind of thing (of which I know very little but others here may be
able to help you).
On Jun 6, 2005, at 4:02 PM, Hoang Hao wrote:
> Like in Java, there is a way to create an Interface. public
> interface Constants {...}. There must be a way to create an
> Interface for Squeak. Please let me know.
> Thanks,
> Hoang Hao
>
> Bert Freudenberg <bert at impara.de> wrote:
> Am 06.06.2005 um 23:46 schrieb Hoang Hao:
>
> > Can anyone show me how to create an interface class for Squeak?
>
> Object subclass: #Interface
> instanceVariableNames: ''
> classVariableNames: ''
> poolDictionaries: ''
> category: 'SCNR'
>
>
> (if this is not what you had in mind, please be a bit more specific).
>
> - Bert -
>
>
>
> Discover Yahoo!
> Get on-the-go sports scores, stock quotes, news & more. Check it out!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050606/049c0bef/attachment.htm
More information about the Squeak-dev
mailing list
|