Displaying 2 results from an estimated 2 matches for "arguents".
Did you mean:
arguments
2004 Feb 04
3
Scoping bug in ftable() (PR#6541)
This bug shows up in ftable() in both r-patched and r-devel:
> x <- c(1,2)
> y <- c(1,2)
> z <- c(1,1)
> ftable(z,y)
y 1 2
z
1 1 1
> ftable(z,x)
x 1
z
1 2
Since x and y are identical, the two ftable results should be the
same, but they are not.
I've only been able to see this when the column variable is named "x",
so it looks like a
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...pe Object]
+hi
+42
+26: toString!
+[type Object]
+hi
+42
diff --git a/test/trace/call-arguments.as b/test/trace/call-arguments.as
new file mode 100644
index 0000000..2356baa
--- /dev/null
+++ b/test/trace/call-arguments.as
@@ -0,0 +1,19 @@
+// makeswf -v 7 -s 200x150 -r 1 -o call-arguments.swf call-arguents.as
+
+trace ("Check arguments handling in Function.call");
+
+#include "values.as"
+
+function foo (a) {
+ trace (this);
+ trace (a);
+ this.x = 42;
+ trace (this.x);
+};
+
+foo.call ();
+for (i = 0; i < values.length; i++) {
+ foo.call (values[i], "hi");
+};
+...