
-----------------------------------
scottyrush13
Mon Jan 10, 2005 9:42 pm

Reading Text from a file
-----------------------------------
ok i know there is a tutorial on how to open a file and get like inforation, but i am lost on how i would open the file and just get the program to read every second line into an array. (BTW this is for my pacman, i have plotted in a file where the dots are going for pacman to eat, and i have 2 arrays (for the x and y location of the dots)).  But i dont know how to get the program to read every second line into the y array, and the other lines into the x array.

example

25