<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=612510523-06062005><FONT face=Arial
color=#0000ff size=2>It's been done, but it's non standard, Smalltalk is a
dynamic language, interfaces are really for manifest typed languages. To
put it simply, every method in smalltalk is it's own interface, if two method
signatures match, then they are compatible, nothing more is
necessary.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
squeak-dev-bounces@lists.squeakfoundation.org
[mailto:squeak-dev-bounces@lists.squeakfoundation.org] <B>On Behalf Of
</B>Hoang Hao<BR><B>Sent:</B> Monday, June 06, 2005 4:03 PM<BR><B>To:</B> The
general-purpose Squeak developers list<BR><B>Subject:</B> Re: Interface class
in Squeak<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>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.</DIV>
<DIV>Thanks,</DIV>
<DIV>Hoang Hao<BR><BR><B><I>Bert Freudenberg <bert@impara.de></I></B>
wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Am
06.06.2005 um 23:46 schrieb Hoang Hao:<BR><BR>> Can anyone show me how to
create an interface class for Squeak?<BR><BR>Object subclass:
#Interface<BR>instanceVariableNames: ''<BR>classVariableNames:
''<BR>poolDictionaries: ''<BR>category: 'SCNR'<BR><BR><BR>(if this is not
what you had in mind, please be a bit more specific).<BR><BR>- Bert
-<BR><BR><BR></BLOCKQUOTE>
<P>
<HR SIZE=1>
Discover Yahoo!<BR>Get on-the-go sports scores, stock quotes, news & more.
<A
href="http://us.rd.yahoo.com/evt=32661/*http://discover.yahoo.com/mobile.html">Check
it out!</A></BLOCKQUOTE></BODY></HTML>