Displaying 20 results from an estimated 358 matches for "tostring".
Did you mean:
to_string
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...trace/xml-node-5.swf differ
diff --git a/test/trace/xml-node-5.swf.trace b/test/trace/xml-node-5.swf.trace
index 801ebec..eb42aef 100644
--- a/test/trace/xml-node-5.swf.trace
+++ b/test/trace/xml-node-5.swf.trace
@@ -24,16 +24,17 @@ valueOf called with
19: valueOf!
20: valueOf!
21: valueOf!
-21: toString!
22: valueOf!
+22: toString!
23: valueOf!
-23: toString!
24: valueOf!
24: toString!
25: valueOf!
25: toString!
26: valueOf!
26: toString!
+27: valueOf!
+27: toString!
<root><a /><b />c<d /></root>
<a />,<b />,c,<d />
<a />,<b />...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
....swf differ
diff --git a/test/trace/array-new-5.swf.trace b/test/trace/array-new-5.swf.trace
new file mode 100644
index 0000000..ed6d1e2
--- /dev/null
+++ b/test/trace/array-new-5.swf.trace
@@ -0,0 +1,271 @@
+Check how "Array" and "new Array" react to parameters
+valueOf called
+toString called
+toString called with
+valueOf called with
+0: valueOf!
+1: valueOf!
+2: valueOf!
+3: valueOf!
+4: valueOf!
+5: valueOf!
+6: valueOf!
+7: valueOf!
+8: valueOf!
+9: valueOf!
+10: valueOf!
+11: valueOf!
+12: valueOf!
+13: valueOf!
+14: valueOf!
+15: valueOf!
+16: valueOf!
+17: valueOf!
+18:...
2007 Nov 14
0
4 commits - libswfdec/swfdec_as_interpret.c test/trace
...3ef47c8
--- /dev/null
+++ b/test/trace/super-existance.as
@@ -0,0 +1,63 @@
+// makeswf -v 7 -s 200x150 -r 1 -o movie23.swf movie23.as
+
+trace (super);
+fuz = function () {
+ trace ("fuz");
+};
+foo = function () extends fuz {
+ trace ("foo");
+ trace (super);
+ trace (super.toString);
+ super ();
+};
+bar = function () extends foo {
+ trace ("bar");
+ trace (super);
+ if (huh) {
+ asm {
+ push 0, "huh"
+ getvariable
+ push undefined
+ callmethod
+ };
+ }
+ huh = super;
+ asm {
+ push 0, "super"
+ callfunction...
2007 Oct 25
0
4 commits - libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c test/trace
...ovie.c | 10 ++++----
libswfdec/swfdec_resource.c | 10 ++++----
libswfdec/swfdec_resource.h | 2 -
libswfdec/swfdec_sprite_movie.c | 3 --
test/trace/Makefile.am | 37 ++++++++++++++++++------------
test/trace/settarget-tostring-5.swf |binary
test/trace/settarget-tostring-5.swf.trace | 1
test/trace/settarget-tostring-6.swf |binary
test/trace/settarget-tostring-6.swf.trace | 1
test/trace/settarget-tostring-7.swf |binary
test/trace/settarget-tostring-7.swf.trace | 1
test/trace/settarget-to...
2007 Oct 15
0
8 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c libswfdec/swfdec_sound.h test/trace
...-0,0 +1,38 @@
+// makeswf -v 7 -s 200x150 -r 1 -o newobject-paths.swf newobject-paths.as
+
+function construct (s) {
+ var ret;
+ asm {
+ push "ret", 0, "s"
+ getvariable
+ dup
+ trace
+ new
+ setvariable
+ };
+ return ret;
+};
+
+function Foo () {
+ this.toString = function () {
+ return "hi";
+ };
+};
+
+createEmptyMovieClip ("a", 0);
+a.Bar = Foo;
+
+values = [
+ "Foo",
+ "/:Foo",
+ "/:::Foo",
+ "a.Bar",
+ "a/Bar",
+ "/a/..:a.Bar"
+];
+
+for (i = 0; i < values.len...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...restrict: (19) _level0 (string) = _level0 (string)
+restrict: (20) ???????????? (string) = ???????????? (string)
+restrict: (21) _level0 (movieclip) = _level0 (movieclip)
+restrict: (22) [object Object] (object) = [object Object] (object)
+restrict: (23) (undefined) = (undefined)
+valueOf called
+toString called
+restrict: (24) [type Object] (object) = [type Object] (object)
+toString called with
+restrict: (25) [type Object] (object) = [type Object] (object)
+valueOf called with
+restrict: (26) [object Object] (object) = [object Object] (object)
+restrict: (27) (object) = (object)
+0: valueOf!...
2010 Jan 26
4
Error with toString
Hello there, I want to create a string from strings and numbers, here is my
code:
str <- "name" & toString(20)
but it returns me this error:
Error in toString(20) : could not find function ".jcall"
what did I do wrong? I couldn't find this error anywhere...
--
View this message in context: http://n4.nabble.com/Error-with-toString-tp1290327p1290327.html
Sent from the R help mailing list 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
...object->context, &argv[0]);
+ } else {
+ b = FALSE;
+ }
+
+ if (cx->frame->construct) {
+ SWFDEC_AS_BOOLEAN (object)->boolean = b;
+ SWFDEC_AS_VALUE_SET_OBJECT (ret, object);
+ } else {
+ SWFDEC_AS_VALUE_SET_BOOLEAN (ret, b);
+ }
+}
+
+static void
+swfdec_as_boolean_toString (SwfdecAsContext *cx, SwfdecAsObject *object,
+ guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
+{
+ SwfdecAsBoolean *b = SWFDEC_AS_BOOLEAN (object);
+
+ SWFDEC_AS_VALUE_SET_STRING (ret, b->boolean ? SWFDEC_AS_STR_true : SWFDEC_AS_STR_false);
+}
+
+static void
+swfdec_as_boolean_valu...
2007 Nov 14
0
5 commits - libswfdec/.gitignore libswfdec/swfdec_initialize.as test/image test/sound test/trace
....trace \
double.swf.trace.org \
- double-to-string.as
+ double-to-string.as \
double-to-string-5.swf \
double-to-string-5.swf.trace \
double-to-string-5.swf.trace.org \
@@ -1717,15 +1717,15 @@ EXTRA_DIST = \
settarget-6.swf.trace \
settarget-7.swf \
settarget-7.swf.trace \
- settarget-tostring-5.swf
- settarget-tostring-5.swf.trace
- settarget-tostring-6.swf
- settarget-tostring-6.swf.trace
- settarget-tostring-7.swf
- settarget-tostring-7.swf.trace
- settarget-tostring-8.swf
- settarget-tostring-8.swf.trace
- settarget-tostring.as
+ settarget-tostring-5.swf \
+ settarget-tostring-5.swf....
2002 Aug 29
2
problem with toString
Hi,
I am using R 1.5.1 under Windows 2000. I have a problem with the function toString: It seems not to work for longer
vectors as expressions.
This example works well:
q1<-expression(c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15))
toString(q1)
I get:
"c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)" => OK
But this one does not:
q2<-expression(c(1,2,3,4,5,6,7,8...
2008 Jan 01
0
4 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_sprite_movie_as.c test/trace
...e0a993
--- /dev/null
+++ b/test/trace/localToGlobal-various-5.swf.trace
@@ -0,0 +1,507 @@
+Test empty or semi-empty stuctures
+, => => ,
+, => => ,
+10, => => 10,
+, 10 => => , 10
+10, => => 10,
+, 10 => => , 10
+Test various values
+valueOf called
+toString called
+toString called with
+valueOf called with
+0: valueOf!
+1: valueOf!
+2: valueOf!
+3: valueOf!
+4: valueOf!
+5: valueOf!
+6: valueOf!
+7: valueOf!
+8: valueOf!
+9: valueOf!
+10: valueOf!
+11: valueOf!
+12: valueOf!
+13: valueOf!
+14: valueOf!
+15: valueOf!
+16: valueOf!
+17: valueOf!
+18:...
2007 Aug 02
7
Difficulty using match
A have an observer watch for a click on a link. Inside the triggered
function, I want to extract a piece of information from the URL.
Currently I am able to do:
alert(Event.element(el));
This displays the url string of the link, which is exactly what I need
to work with. However, when I try:
Event.element(el).match(//);
I get a javascript error "selector.match is not a function". I
2010 Jan 12
1
Problem with toString
Hi all,
I got a problem with * "toString()"* function
its behaving odd in some times most of the times its giving correct results
but in peculier cases its giving results like *"愭]"*
especially while i am working with c# +R-project
thats also after getting some error like
after trying to caliculate "*mean("NA...
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
.../dev/null and b/test/trace/fromcharcode-other-5.swf differ
diff --git a/test/trace/fromcharcode-other-5.swf.trace b/test/trace/fromcharcode-other-5.swf.trace
new file mode 100644
index 0000000..8cb67e9
--- /dev/null
+++ b/test/trace/fromcharcode-other-5.swf.trace
@@ -0,0 +1,124 @@
+valueOf called
+toString called
+toString called with
+valueOf called with
+0: valueOf!
+1: valueOf!
+2: valueOf!
+3: valueOf!
+4: valueOf!
+5: valueOf!
+6: valueOf!
+7: valueOf!
+8: valueOf!
+9: valueOf!
+10: valueOf!
+11: valueOf!
+12: valueOf!
+13: valueOf!
+14: valueOf!
+15: valueOf!
+16: valueOf!
+17: valueOf!
+18:...
2003 Sep 16
2
How does "subset" replace arguments? (PR#4193)
...stand this logic,
despite of reading a lot about S:
> test
field tuckey
4 Kreis2 -1
5 Kreis5 -2
9 Metall -3
17 Kreis1 -4
19 Kreis8 -5
> subset(test,field=="Metall")
field tuckey
9 Metall -3
> subset(test,toString(field)=="Metall")
[1] field tuckey
<0 rows> (or 0-length row.names)
This happens everytime I use a function with the column name ("field", in this
case) as parameter in the logic expression in "subset", instead of using the
column name on top level. I have th...
2007 Nov 15
0
4 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c test/trace
...callee:
-Child CallFunction:
+Child:
arguments:
caller: null
-callee: func
-Child CallMethod:
+callee: child
+Run:
arguments:
caller: null
-callee: func
+callee: run
+Child CallFunction:
+arguments:
+caller: run
+callee: child
+Child CallMethod:
+arguments:
+caller: run
+callee: child
+
+toString:
+arguments:
+caller: run
+callee: func_and_child
+Child:
+arguments:
+caller: func_and_child
+callee: child
+
+valueOf:
+arguments:
+caller: run
+callee: func_and_child
+Child:
+arguments:
+caller: func_and_child
+callee: child
Method:
arguments:
-caller: null
+caller: run
callee: func_a...
2006 Apr 11
1
Changing character limit in deparse, as.character and toString
Dear R-help Listers,
I am curious if there is some (hopefully easy) way to change the number of
characters that can be converted to a single string via any of deparse,
as.character or toString. It seems that the limit is 500 for all of
these. I saw a previous post where Prof. Ripley suggested that it was a
"trivial" change in the R internals to change as.character's limit from 60
to 500, but I was hoping for something that didn't involve me trying to
alter the R inte...
2010 Mar 06
3
[LLVMdev] constness of APFloat::toString
Hi!
I wonder if llvm::APFloat::toString() can be const since
it should not modify the APFloat.
-Jochen
2007 Jun 17
2
Branch 'as' - test/trace
...operations.
+// It defines 2 variables:
+// - "values": The array of values to be checked
+// - "names": The array of corresponding string representations for values.
+// It's suggested to use these instead of using values directly to
+// avoid spurious toString and valueOf calls.
+
+printall = new Object ();
+printall.valueOf = function () {
+ trace ("valueOf called");
+ return this;
+};
+printall.toString = function () {
+ trace ("toString called");
+ return this;
+};
+
+tostring = new Object ();
+tostring.toString = function () {...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...inary files /dev/null and b/test/trace/point-construct-6.swf differ
diff --git a/test/trace/point-construct-6.swf.trace b/test/trace/point-construct-6.swf.trace
new file mode 100644
index 0000000..79b9744
--- /dev/null
+++ b/test/trace/point-construct-6.swf.trace
@@ -0,0 +1,7201 @@
+valueOf called
+toString called
+toString called with
+valueOf called with
+0: valueOf!
+1: valueOf!
+2: valueOf!
+3: valueOf!
+4: valueOf!
+5: valueOf!
+6: valueOf!
+7: valueOf!
+8: valueOf!
+9: valueOf!
+10: valueOf!
+11: valueOf!
+12: valueOf!
+13: valueOf!
+14: valueOf!
+15: valueOf!
+16: valueOf!
+17: valueOf!
+18:...