On Jun 5, 2007, at 7:55 , subbukk wrote:
On Tuesday 05 June 2007 1:21 am, Bert Freudenberg wrote:
class (instance variable) - instance variable of the class
(treated as an
object and therefore visible only to its methods and methods in its
subclasses).
I don't think that is correct - what
On Sunday 27 May 2007 9:44 pm, Bert Freudenberg wrote:
There is a difference between class variables (which are like
static variables in other systems, so they get their fare share of
use) and class instance variables (very rarely used indeed). You
see class instance variables only when you
On Jun 4, 2007, at 19:40 , subbukk wrote:
On Sunday 27 May 2007 9:44 pm, Bert Freudenberg wrote:
There is a difference between class variables (which are like
static variables in other systems, so they get their fare share of
use) and class instance variables (very rarely used indeed). You
Hi, Subbu,
Try:
ClassListBrowser browseClassesSatisfying: [:cl | cl class
instVarNames size 0] title: 'classes defining class-side inst vars'
Cheers,
-- Scott
On Jun 4, 2007, at 10:40 AM, subbukk wrote:
BTW, I used the code below to inspect classes with explicit CIVs:
(Smalltalk
On Tuesday 05 June 2007 1:21 am, Bert Freudenberg wrote:
class (instance variable) - instance variable of the class
(treated as an
object and therefore visible only to its methods and methods in its
subclasses).
I don't think that is correct - what do you mean by treated as an
object?
On Saturday 26 May 2007 10:02 pm, mstram wrote:
2) At least one difference I've found is that I when tried to create a
class method that accessed an instance variable, Squeak warned that the
variable didn't exist and asked if I wante to create it (is this a bug?)
... even though it was
On May 27, 2007, at 17:14 , subbukk wrote:
Since classes are also objects
that are created when you 'accept' the definition (except that its
variables
are created from classVariableNames), so you can use them in class
methods
immediately.
Not quite. Those variables are class variables,
On May 26, 2007, at 14:50 , mstram wrote:
What's the trick / catch ... if there is one for invoking a class
method from
a workspace?
Class methods in Smalltalk are regular methods, because classes are
regular objects. Unfortunately the browser gives the impression that
there are two
Edgar J. De Cleene wrote:
do MikeTest cmethod.
Ok thx, have it working now.
Though I ran into an error when I tried to use :
do MikeTest cmethod.
and changed it to just
MikeTest cmethod.
:)
also :
avar := MikeTest cmethod
also works, as I'm sure you know .. but took me a
On May 26, 2007, at 18:32 , mstram wrote:
Well obviously I need to a lot more reading and experimenting with
this,
even if class methods are regular methods, there is something
different
with them as far as :
1) the syntax to access them (fire .. call .. invoke ???
what is the
10 matches
Mail list logo