repo.or.cz
/
minnow.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit
[minnow.git]
/
samples
/
pass_array2.mno
blob
6237806bada9b9c819b6a709246ce6b3a898fcf2
1
actor Handler
2
action handle(int[] input)
3
input[0] = input[0] + 3
4
input[1] = input[1] + 3
5
6
puti(input[0])
7
puti(input[1])
8
9
exit(0)
10
end
11
end
12
13
action main()
14
spawn Handler h
15
16
var int[] arr[2]
17
arr[0] = 3
18
arr[1] = 4
19
20
h::handle(arr)
21
22
end