No, in fact it's common idiom to do this:
proc test(n: int) =
let n = n - 1 # my indexing starts at 0 or something
echo a[n]
Run
- Define variables in proc with same name as arguments vitreo12
- Re: Define variables in proc with same name as arguments Araq
