[chuck-users] variables and memory

Kassen signal.automatique at gmail.com
Sat Mar 21 14:06:27 EDT 2009


 Όλα Καλά!!

I'll assume that translates to "w00t"? :¬D

Three cheers for Eduard!

This won't work on floats and ints though ( for strings it's fine). Arrays
of length 1, on the other hand, can be dealt with in this way if we really
urgently must clean up everything.

Sadly that will make for loops look like this;

for (int n[1]; n[0] <= 5; n[0]++)
    if( n[0] == 5) {null @=> n; break;}

That's not going to win any beauty awards. Ahum.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090321/dffa7f91/attachment.html>

More information about the chuck-users mailing list