git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added pdf2pdf tool
[swftools.git]
/
lib
/
as3
/
ok
/
trycatch.as
diff --git
a/lib/as3/ok/trycatch.as
b/lib/as3/ok/trycatch.as
index
3b5fd39
..
794392c
100644
(file)
--- a/
lib/as3/ok/trycatch.as
+++ b/
lib/as3/ok/trycatch.as
@@
-36,9
+36,9
@@
package {
}
public function checkActivation():void
{
}
public function checkActivation():void
{
- var y:uint = 0;
+ var yy:uint = 0;
var inc_y = function() {
var inc_y = function() {
- y = y + 1;
+ yy = yy + 1;
}
try {
}
try {
@@
-47,8
+47,8
@@
package {
} catch(e:Error) {
inc_y();
}
} catch(e:Error) {
inc_y();
}
- if(y!=2) trace("error")
- else trace("ok 8/8");
+ if(yy!=2) trace("error ("+yy+")")
+ else trace("ok 8/8");
}
}