xVar=A.0[i]

And 'print' is not a Melabs PicBasic statement