Problem in RVB Method GetPoints

Hallo, please help,
why Method GetPoints raises Error when used in Loop ?
LoopBug_GetPoints.rvb (955 Bytes)
Thanks
Edit: it’s done