This commit is contained in:
parent
f42508731d
commit
b6c1cc8864
11
t/fun-01.hcl
11
t/fun-01.hcl
@ -6,11 +6,12 @@ defun aaa(a b) {
|
||||
|
||||
set k (aaa 10 20);
|
||||
|
||||
(if (= k 30)
|
||||
(printf "OK\n")
|
||||
else
|
||||
(printf "ERROR\n")
|
||||
)
|
||||
if (= k 30) {
|
||||
printf "OK\n";
|
||||
}
|
||||
else {
|
||||
printf "ERROR\n";
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user