Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.sprintlink.net!in1.uu.net!usc!howland.reston.ans.net!xlink.net!ins.net!heeg.de!hasko
From: hasko@heeg.de (Hasko Heinecke)
Subject: Re: Is ':=' a method?
Message-ID: <DFtqDz.G7n@heeg.de>
Sender: uucp@heeg.de
Organization: Georg Heeg Objektorientierte Systeme, Dortmund, FRG
X-Newsreader: TIN [version 1.2 PL2]
References: <95093016325600721@kaimac.swb.de>
Date: Mon, 2 Oct 1995 13:49:10 GMT
Lines: 18

Kai Garrels (kai@kaimac.swb.de) wrote:

: I always wondered wether ':=' is a method or not.

It's not since variables are not objects. This is one of the places where the
notion "everything is an object" breaks down. Neither variables nor messages
are objects, at least not for general purposes.

: Where is it defined?

It's part of the Smalltalk syntax. It's sort of defined in the compiler.

Hasko
--
+------------------------------------------------------+
| Hasko Heinecke, Georg Heeg - Object-Oriented Systems |
| hasko@heeg.de or http://www.heeg.de/~hasko           |
+------------------------------------------------------+
