I've now added a error check for assignments to things like this, super, thisProcess, etc. So the code below will not compile.
On Aug 30, 2005, at 8:43 PM, James McCartney wrote:
wow. I can't beleive I didn't make the compiler check for assigning to "this".Assigning to "this" is illegal. On Aug 30, 2005, at 4:20 PM, Tom Hall wrote:This method freezes sclang (beach-ball) if the while loops evaluate as true. Any suggestions to put me on the right track?+ Number { checkOct { | minFreq=30, maxFreq=16745 | while ({ this < minFreq }, { this = this * 2}); while ({ this > maxFreq }, { this = this * 0.5}); ^this } }