Thanks for the clarification Goran. This helps a lot. Its not just a
"nice to have" but absolutley necessary for some things like
Singletons as you know. I'll be more careful in my reading, thanks.
On Feb 19, 12:36 pm, "Göran Krampe" <
[hidden email]> wrote:
> Again read the page on porting on the wiki - Amber supports class instance vars but not class vars. Regarding pragmas, I refer to Nicolas. Perhaps it is just a "someone has to do it"-thing.
> regards, Göran-- Sent from my Palm Pre 2, wohoo!On Feb 19, 2012 18:54, leonsmith <
[hidden email]> wrote:I distinctly remember reading that Amber doesn't allow Class instance
> variables, and I see how Smalltalk handles that by using the
> Javascript version <smalltalk>, but today I noticed that Transcript
> actually has a class-side instance variable. Is that because that
> Class will never get exported to Javascript, or can we actually use
> them with the same syntax as Transcript ?