What are you going to do with the rest of the line if the Name is more than 29 characters? Is it supposed to ignore the rest of the Name characters (skip over the excess characters) and read in the remaining characters? If that is true, then after line 76 just read all remaining charcters up to the comma
while( x != ',' && In.get(x))
; // do nothing line here
Now the program is read to read the float and integer (line 79). Note that the if statement on line 77 is not needed.