Re: IMCC and locals/lexicals

2002-12-07 Thread Leopold Toetsch
[EMAIL PROTECTED] wrote: ... this seemed reasonable, but it doesn't help: .sub _foo .local int x x = 5 .namespace ANON .local int x x = 3 print x .endnamespace ANON print x .end All untested features are b0rken. I got namespace now running, above snippet be

IMCC and locals/lexicals

2002-12-06 Thread gregor
Leo -- Here's a Jako snippet: var int x = 5; { var int x = 3; print x; } print x A naiive translation to imcc might be: .sub _foo .local int x x = 5 .local int x x = 3 print x print x .end but (of course) that leads to an "x already defined" error. I was hoping