[chuck-users] Strings
Spencer Salazar
ssalazar at princeton.edu
Thu Jun 15 11:09:21 EDT 2006
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:
> <<< "<step step=\"", step ,"\" cycle=\"", cycle, "\" >" >>>;
>
> is this:
> <step step=\" 3 \" cycle=\" 0 \" >
>
> Spaces and escape characters abound! Could someone help me with this?
>
> Cheers,
>
> Ollie
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
More information about the chuck-users
mailing list