hcl/t/fun-01.hcl
hyung-hwan 1c083885bc
Some checks failed
continuous-integration/drone/push Build is failing
added a new test script
2023-11-12 23:03:47 +09:00

17 lines
135 B
HCL

defun aaa(a b) {
| c |
set c (+ a b);
return c;
};
set k (aaa 10 20);
(if (= k 30)
(printf "OK\n")
else
(printf "ERROR\n")
)