mirror of
https://github.com/dschmenk/PLASMA.git
synced 2024-08-20 00:29:04 +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…
Reference in New Issue
Block a user