[Pharo-users] Re: InstanceVariables

2021-12-09 Thread Norbert Hartl
> Am 08.12.2021 um 22:56 schrieb Richard O'Keefe : > > Other programming languages use terminology like slots, > fields, data members, ... > > The keyword 'instanceVariableNames:' is used because the > string that follows contains the names of the variables, > not the variables themselves. To

[Pharo-users] Re: InstanceVariables

2021-12-08 Thread Richard O'Keefe
If you are coming from a Pascal background, instance variables of an object correspond to fields of a record. They are called instance variables - because they are variables - that belong to INSTANCES of a class (object) as opposed to class variables - which are variables - that belong to the C

[Pharo-users] Re: InstanceVariables

2021-12-08 Thread Mathieu Dubois via Pharo-users
I’m far from being an expert but I think you misunderstood. Are you familiar with the concept of instance variables and having trouble with the syntax or do you need some help on the concept of instance variables ? Assuming you are familiar with the concept, here are some explanation about the

[Pharo-users] Re: InstanceVariables

2021-12-06 Thread Tomaž Turk
Hi, Instance variables are nicely explained in Pharo by Example in chapter 6.4 pp 89 http://books.pharo.org/. Best wishes, Tomaz