blob: c220b9cf782dc4da9baf3069287b3bd2f12b68fa [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
5write output to nc1:"/tmp/inline_funs.adm";
6
7declare function f1() { 1 + f2() }
8
9declare function f2() { 2 + f3() + f3() + f3() + f4() }
10
11declare function f3() { 0 - 1 }
12
13declare function f4() { 1001 }
14
15f1()