[chuck-users] Dealing with String objects?

Wolfgang Gil wolfgang.gil at gmail.com
Sun Dec 23 15:45:45 EST 2012


Hello chuckers

I am looking for a reference to the 'string' object class in chuck. I am
having a hard time trying to guess what methods are available for the
class.
I also recently came across with the StringTokenizer object but it seems to
work only when the token is a white space. Is it possible to assign a
different token to the object?

here is what I am working on

UGen uArray[3];


new SinOsc @=> uArray[0];

new TriOsc @=> uArray[1];

new PulseOsc @=> uArray[2];


for(0 => int i; i < 3; i++)

{

    <<<getType(uArray[i].toString())>>>;

    now + 1::second => now;

}


What gets printed is the object's type plus what I believe is a reference
to memory that I am currently not interested in, separated by a colon (
TriOsc:1001f36a0)


Happy holidays!

-- 

http://www.wolfganggil.com <http://www.wolfganggil.com/about>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20121223/6b7e3bd3/attachment.html>


More information about the chuck-users mailing list