[chuck-users] 2 works 1.5 kills chuck

tempjayren at gmail.com tempjayren at gmail.com
Thu Jul 21 03:06:05 EDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

what did i break now?
i snipped the code from the message, though when i ran it it said
something about an undefined variable.
i wanted to see what was going on.



On 7/18/2011 1:16 PM, Rustom Mody wrote:
> Ive managed to tweak the example more or less to the requirement
> however (in the code below)
> 
> On Sun, Jul 17, 2011 at 9:01 PM, Rustom Mody <rustompmody at gmail.com>
> wrote:
> 
>> fun void keyboardListener() { KBHit hi; int c; while(true) { hi =>
>> now; while(hi.more()) { //if(msg.isButtonDown()) hi.getchar() =>
>> c; { if(c == 68) // d 2 *=> Voice.multiplier; else if(c == 72) //
>> h 2 /=> Voice.multiplier; else if(c == 73) // i 
>> Voice.decreaseSpread(); else if(c == 79) // o 
>> Voice.increaseSpread(); } } } }
>> 
> 
> 
> 
> if I change 2 *=> Voice.multiplier; to 1.5 *=> Voice.multiplier;
> 
> chuck dies and cpu usage shows 100%
> 
> Any clues/tips?
> 
> 
> 
> 
> _______________________________________________ chuck-users mailing
> list chuck-users at lists.cs.princeton.edu 
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOJ8/cAAoJEIaKvi7tbzRHnZAH/3/eEaUa9UwTlQqiEDIz2csQ
F37duBC24kY4O08Ugq5eF5VYoikBfRvvpzE8enFGzFZU1sekLXXzBYYsM/JD70KR
knIbyuHTycVYGELgBoDrulDfJQu2xslLjMkyNThxu5Axim0ffEUuZ2Kxpg8V34mu
8YMXCBZvVYHyDJ4GKoZRNl5crWYQWVZmcc6Fr75tk23qtgZThv+kgFeuNgu/mU2z
JVSCP1/ANocKJgOsPoGUdrjf7VFjVFy7K1toE0aQcV+uazrFJrRXBZ6BFk6L2h64
tJk1EE/BkLzygumlSMYB8+eWdeKjAwy0deXN5skbfd7TH5zIr9Y/I8KwFlO0ffU=
=iffX
-----END PGP SIGNATURE-----


More information about the chuck-users mailing list