[chuck-users] comma is and? undocumented feature

Kassen signal.automatique at gmail.com
Sat Jun 28 18:07:01 EDT 2008


2008/6/28 Jukka Akkanen <jakkanen at mac.com>:

> This seems to be similar to the comma operator in C, which lets you use
> multiple comma-separated sub-expressions in a context where only a single
> expression is allowed. An expression using the comma operator evaluates to
> the value of the last sub-expression. Note that the comma operator is very
> different from how && works.
>
>
Got it.

How and where is this useful?

Thanks!

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


More information about the chuck-users mailing list