in reply to Why is $. not zero-based?

As pfaut says, it's a count. Array indexes are an offset from a base location.

After Compline,
Zaxo