Re: SWITCH question
- Posted by irv Jan 05, 2018
- 1916 views
Simplest example, uses the switch from above:
constant expr = cos(0) -- cos(0) returns 1, as do map:new, etc... constant val = expr -- so built-in and library functions fail when interpreted constant expr = foo(0) -- my foo(x) returns x+1 constant val = expr -- this works. Why is my function so much better than the built-in ones?
Hopefully, someone can explain that.