![](https://secure.gravatar.com/avatar/6cc560392a27c4987c435120292aed27.jpg?s=120&d=mm&r=g)
Hey team, "switch" shows up as a keyword in the mini, but it's undocumented. Any ideas? I tried the java syntax (since ChucK seems to be like java) but can't seem to not get syntax errors. Thanks. Andrew
![](https://secure.gravatar.com/avatar/fa5a8de5c6e6c5838fc8106b390c7a6d.jpg?s=120&d=mm&r=g)
On 22 May 2010 16:59, Andrew C. Smith
Hey team,
"switch" shows up as a keyword in the mini, but it's undocumented. Any ideas? I tried the java syntax (since ChucK seems to be like java) but can't seem to not get syntax errors. Thanks.
I think it's simply reserved, like a few other words, for future implementation. This should prevent us from accidentally using it ourselves, then having our code break if/when it would get implemented. It might also be a matter of a Java syntax highlighting file being used with some edits and some leftover bits, I've seen a few of those as well. ...or both might be the case :-), at any rate; I don't think there is a "case" structure for us to use right now. Yours, Kas.
participants (2)
-
Andrew C. Smith
-
Kassen