summaryrefslogtreecommitdiff
path: root/doc/code/reference.lm
blob: 122ab6f6cdf02d3d882d8757cc79caf48bf9e938 (plain)
1
2
3
4
5
6
7
8
9
10
11
str sa( where:ref < str > ) {
    print( "in SA ", where, "\n" )
    where = "sa"
    print( "in SA ", where, "\n" )
}

where: str =  "global"
print( "in global ", where, "\n" )
sa( where )
print( "in global ", where, "\n" )