Re: SWITCH question

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu