I've searched before posting this, and I've seen Saike ask for a switch/case statement. What I miss the most are instructions for flow control.
In particular, a return statement would be very handy to have. An alternative could be break. At the moment, it's impossible to terminate a loop earlier unless one alters the counter value or something, and even so you can't avoid completing the current iteration. Return or break (or both!) could help with efficiency and readability in several context.
Less necessary, but still a very welcome possible addition? Sonething like the continue statement in C, to skip to the next iteration rather than straight out of the loop.
Quote:
Originally Posted by sai'ke
I do realize that I'm probably using JSFX a bit beyond the scope of what it was really intended for though,
|
Ordinary "brute force" DSP-oriented number crunching has less frequent need for sophisticated conditional logic. Other applications could be coded quite a bit more easily if that kind control logic were available. Saike is a programming role model for me! The fact that he managed what he did doesn't imply I can