[mtasc] Error in Fault class with 1.03
Kai Langenbach
kai.langenbach at gripag.de
Tue Mar 29 09:04:24 CEST 2005
The following lines of the mx.rpc.Fault class produce an error with MTASC 1.03:
//trim off any leading spaces
var st = 0;
while (__description.indexOf(' ', st) == st) ++st; // error !!!
if (st > 0) __description = __description.substring(st);
--> ... Classes/mx/rpc/Fault.as:76: characters 63-65 : parse error Invalid Expression
If I put curly brackets arround '++st' all works fine but i can't see why I should do so.
while (__description.indexOf(' ', st) == st) { ++st }; // works!
Thanks, Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20050329/dece1829/attachment-0006.htm
More information about the mtasc
mailing list