as3: added xml string substitution, variable scoping compatibility, optimizations
[swftools.git] / lib / as3 / ok / while.as
index bf120cf..152ea1f 100644 (file)
@@ -16,6 +16,9 @@ package test.package {
             if(i!=21) trace("error");
             else trace("ok 2/3");
 
+
+            /* notice: this type of overloading behaves differently if
+               this function is switched into compatibility mode */
             var x1=0;
             var a=1;
             var sum=0;
@@ -41,6 +44,7 @@ package test.package {
             sum+=a;
             if(sum!=4321) trace("error");
             else trace("ok 3/3");
+            
             trace("[exit]");
         }
     }