供參考
在調試@replace Head時,我注意到自訂函數的返回值與標準函數相比增加了1 倍:
myFunction = function({}, return(Expr(3*5)));
add custom functions (newcustom function("my custom", "function", function({}, return(Expr(3*5)))));
Show(myfunction());
Show(my custom:function())所以也許再增加一個Expr() ...
add custom functions (newcustom function("my custom", "function", function({}, return(Expr(Expr(3*5))))));
Show(my custom:function())