AW: AW: [mtasc] Allocation-Expression and Clazz;
nz at powerflasher.de
Fri Dec 2 15:02:10 CET 2005
>static var used = [XMLRemortConnector,PHPRemoteConnector];
Good idea... thx :)
>Anyway, in MTASC it is much easier. Just include the correct class on the >commandline.
This is right. I just want to try to get Flash and MTASC compatible.
Local Variable Redeclaration and scoping is very good and easy to explain
someone. But I had many discussions with other AS2Programmers about the "new"-thing and the "class"-thing. It is not easy to explain this behaviour because it is not necessary that MTASC behaves this way.
Sometimes MTASC is so relaxed(especial syntax)...sometimes MTASC is so hard;)
I think it would be cool to have those two things changed...
Von: mtasc-bounces at lists.motion-twin.com [mailto:mtasc-bounces at lists.motion-twin.com] Im Auftrag von Nicolas Cannasse
Gesendet: Freitag, 2. Dezember 2005 14:45
An: MotionTwin ActionScript2 Compiler List
Betreff: Re: AW: [mtasc] Allocation-Expression and Clazz;
> This wont compile with MTASC...
This will, and it's more easy to understand what you're doing :
static var used = [XMLRemortConnector,PHPRemoteConnector];
MTASC : no more coffee break while compiling
More information about the mtasc