in reply to Re: Class data scope?
in thread Class data scope?
Well, actually I'm just really trying to get it right in my head. I'm not exactly trying to do anything.
If I have Class wide data (as oposed to Object instance data),..
Let's say we have package House, our 'script1' instances 5 House and each House has an address, etc. Class House keeps track that there are 5 houses open.
If two process are run of script1, does Class House register 10 House or 5 House???
Does this change if user X and user Z both run script1 at the same time?
I'm guessing the 'scope' of the Class data is only good for the process. Regardless of user, multiple process etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Class data scope?
by psini (Deacon) on Jun 12, 2008 at 18:58 UTC | |
|
Re^3: Class data scope?
by ikegami (Patriarch) on Jun 12, 2008 at 19:03 UTC |