I'm trying to print this xml string from chuck:
<step step="3" cycle="0" >
What I get, when I use this code:
<<< "
Hey there Ollie, Looks like ChucK doesnt accept \" as an escaped character in strings... we are planning on having totally revamped string support within the next release or two, so hopefully that can be patched up by then. Also, the spaces thing should probably be resolved when we release the new file I/O API, which I believe is on its way into an upcoming release. spencer On Jun 12, 2006, at 3:07 PM, Ollie Glass wrote:
I'm trying to print this xml string from chuck:
<step step="3" cycle="0" >
What I get, when I use this code: <<< "
" >>>; is this:
Spaces and escape characters abound! Could someone help me with this?
Cheers,
Ollie _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
hi spencer, yes, new strings please! i'd need: concat, mid, left, right [] etc. if there's need i could provide some ideas & code. best joerg Spencer Salazar wrote:
Hey there Ollie, Looks like ChucK doesnt accept \" as an escaped character in strings... we are planning on having totally revamped string support within the next release or two, so hopefully that can be patched up by then.
Also, the spaces thing should probably be resolved when we release the new file I/O API, which I believe is on its way into an upcoming release.
spencer
On Jun 12, 2006, at 3:07 PM, Ollie Glass wrote:
I'm trying to print this xml string from chuck:
<step step="3" cycle="0" >
What I get, when I use this code: <<< "
" >>>; is this:
Spaces and escape characters abound! Could someone help me with this?
Cheers,
Ollie _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- http://joerg.piringer.net http://www.transacoustic-research.com http://www.iftaf.org http://www.vegetableorchestra.org/
participants (3)
-
joerg piringer
-
Ollie Glass
-
Spencer Salazar