[chuck-users] time and truth (bug?)

Kassen signal.automatique at gmail.com
Thu Jul 24 02:35:07 EDT 2008

Dear list,

Considering that this is valid;

if (now) <<<"yay">>>;
if (second) <<<"hurray">>>;

I feel that this should be valid as well;

if (now && true) <<<"this won't parse">>>;

However, it isn't; ChucK complains the "&&" operator can't be resolved on
time and int. This is a issue as well;

if (second && true) <<<"This neither">>>;

of course we could go...
if (second) if (now) if (true) <<<"this is silly but runs">>>;

...but that looks a bit primitive.

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

More information about the chuck-users mailing list