Extended print command to allow subscripting of pointer variables.