drop dataverse test if exists; | |
create dataverse test; | |
use dataverse test; | |
write output to nc1:"/tmp/inline_funs.adm"; | |
declare function f1() { 1 + f2() } | |
declare function f2() { 2 + f3() + f3() + f3() + f4() } | |
declare function f3() { 0 - 1 } | |
declare function f4() { 1001 } | |
f1() |