mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-04-05 03:37:43 +00:00
Add lambda tests
This commit is contained in:
parent
64fe1b2e70
commit
4910f18661
@ -116,8 +116,8 @@ export def main(range)
|
||||
putc('?')
|
||||
wend
|
||||
putln
|
||||
printfunc(1, 2, &(a,b)a+b)
|
||||
printfunc(1, 2, &(a,b)(a-b))
|
||||
printfunc(1, 2, &(a,b) a+b)
|
||||
printfunc(1, 2, &(a,b) (a-b))
|
||||
lambda = &(x,y) x * y
|
||||
puti(lambda(2,3));putln
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user