git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use labels for backward jumps, nop for forward jumps
[swftools.git]
/
lib
/
as3
/
ok
/
extraparams.as
diff --git
a/lib/as3/ok/extraparams.as
b/lib/as3/ok/extraparams.as
index
5de4c36
..
06e0e8f
100644
(file)
--- a/
lib/as3/ok/extraparams.as
+++ b/
lib/as3/ok/extraparams.as
@@
-2,15
+2,22
@@
package {
import flash.display.MovieClip;
public class Main extends flash.display.MovieClip {
import flash.display.MovieClip;
public class Main extends flash.display.MovieClip {
+ public function test2(s,...numbers) {
+ }
public function test(s,...numbers) {
public function test(s,...numbers) {
+
+ //test2(s,...numbers);
+
+ if(s=="ok")
+ trace("ok 1/3");
if(numbers[0]==1 &&
numbers[1]==2 &&
numbers[2]==3 &&
if(numbers[0]==1 &&
numbers[1]==2 &&
numbers[2]==3 &&
- numbers[3]==4) trace("ok 1/2");
- if(numbers.length==4) trace("ok 2/2");
+ numbers[3]==4) trace("ok 2/3");
+ if(numbers.length==4) trace("ok 3/3");
}
function Main() {
}
function Main() {
- test("", 1,2,3,4);
+ test("ok", 1,2,3,4);
}
}
}
}
}
}