Hi! hehehe thank you very much ! converting val to float solve the problem, but i was wondering how to increment the two variable (x,y) after use worldarray[x,y] = val x += 1 y += 1/2 Doesn't work.. i'm sorry for this stupid question but i'm quite new to programming What do u mean with? > > Should you use wx,wy to match x,y below? > thanks again Stan