ENTRY MAIN USING extendedDefine VERSION 4.1 //The version that nested functions was introduced [MAIN]{ // New feature functions inside of functions a = hmm(5,1) "a = $a$" b = hmm(hmm(6+5,hmm(1+5,1 + 1)),5 + sqrt(100)) "b = $b$" } [hmm:function(a,b)]{ return a+b } // [TEST]{ // newThread("TEST2") // ::loop:: // print("Hello!") // sleep(.5) // GOTO("loop") // } // [TEST2]{ // ::loop:: // print("Hi!") // sleep(1) // GOTO("loop") // }