Regular instance variables?

Hi,

I am a bit confused. Can someone explain the difference between
instance variables and regular instance variables? Thanks a lot.

Regards,
Ianne

Ianne L. wrote:

Hi,

I am a bit confused. Can someone explain the difference between
instance variables and regular instance variables? Thanks a lot.

Regards,
Ianne

supplementary:

regular instance variables = @var
instance variables = var

is this correct?

On 29 Sep 2006, at 09:53, Ianne L. wrote:

is this correct?
This is the first I have heard of a “regular instance variable”.
There is one reference in Pickaxe, which is in the description for
instance_variable_get. I think it is used there with the sense of
“plain, vanilla, ordinary, 2 bit instance variable”.

So:

@var = instance variable
var = local variable

Local variables are transient, and only relevant within a particular
scope, which is within the defining classes methods.

Paul