In *NIX, shell variables or environment variables are prefixed with $ and followed by a name. So $i is a variable, as is $var. var$i is confusing to me in the context of your post.
If you want to see the value held by a variable, use "echo". E.g. :-