repo.or.cz
/
chuck-blob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[chuck-blob.git]
/
v2
/
test
/
20.ck
blob
063fdaf03a5e98e2dfde86473cccd40a044f89a3
1
// 20.ck : assignment inside functions
2
3
fun int foo( int x )
4
{
5
x => int a;
6
return a;
7
}
8
9
if( foo( 3 ) == 3 )
10
<<<"success">>>;