separated tuple([] used for assignment) from array(holding data)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
17
t/fun-01.hcl
17
t/fun-01.hcl
@ -77,6 +77,23 @@ if (y = 29) {
|
||||
printf "ERROR - %d\n" y
|
||||
}
|
||||
|
||||
## --------------------------------------
|
||||
k := (defun qq(t) (t + 20))
|
||||
x := (k 8)
|
||||
y := (qq 9)
|
||||
|
||||
if (x = 28) {
|
||||
printf "OK - %d\n" x
|
||||
} else {
|
||||
printf "ERROR - %d\n" x
|
||||
}
|
||||
|
||||
if (x = 29) {
|
||||
printf "OK - %d\n" x
|
||||
} else {
|
||||
printf "ERROR - %d\n" x
|
||||
}
|
||||
|
||||
## --------------------------------------
|
||||
|
||||
defclass A | a b c | {
|
||||
|
Reference in New Issue
Block a user