In FBII I use the following loop to read data from a previously opened file... DIM facets(208) . . . FOR facet = 1 TO 208 INPUT #fno, facets(facet) NEXT facet the data is in a text file and looks exactly like this... 1,2,1,3,1,4,1,6,1,7,1,8,2,3,2,4,2,5,2,7,2,8,3,4 3,5,3,6,3,8,4,5,4,6,4,7,5,6,5,7,5,8,6,7,6,8,7,8 1,2,3,1,2,4,1,2,7,1,2,8,1,3,4,1,3,6,1,3,8,1,4,6 1,4,7,1,6,7,1,6,8,1,7,8,2,3,4,2,3,5,2,3,8,2,4,5 2,4,7,2,5,7,2,5,8,2,7,8,3,4,5,3,4,6,3,5,6,3,5,8 3,6,8,4,5,6,4,5,7,4,6,7,5,6,7,5,6,8,5,7,8,6,7,8 1,2,3,4,1,2,3,8,1,2,4,7,1,2,7,8,1,3,4,6,1,3,6,8 1,4,6,7,1,6,7,8,2,3,4,5,2,3,5,8,2,4,5,7,2,5,7,8 3,4,5,6,3,5,6,8,4,5,6,7,5,6,7,8 When I use the same code in FB^3 I get an "end-of-file" error. The FB^3 documentation says... "The data in the file (or coming in through the serial port) should be formatted as text items delimited by commas and/or carriage-returns. Each item is assigned to a separate variable. Some data conversion may occur during the assignment;" So why do I get an eof? Also, when I run the debugger against this code FB^3 crashes into Macsbug and I must restart; happens every time. Charlie Dickman charlied@...