Hi Barrie, barrie wrote: > I'm saving data to a file using PRINT#1 and reading it with INPUT#1. > Some of the data are numbers, some are strings. I'm not sure why you're having the problems you are, since I didn't join the fray until FBII, but I think you should probably be using the WRITE and READ statements for maximum compatibility with how FB works these days. There are several variations to WRITE and READ, all covered in the manual. HTH, Joe Wilkins > PRINT# 1, number > PRINT# 1, String$(1) > PRINT# 1, number2 > When read with > INPUT# 1, number > INPUT# 1, String$(1) > INPUT# 1, number2 > Does not work. number reads OK but the string is empty and number2 is wrong. > When I change it to > PRINT# 1, number > WRITE# 1, String$(1);50 > PRINT# 1, number2 > And read with > INPUT# 1, number > READ# 1, String$(1);50 > INPUT# 1, number2 > Everything works fine. > Does anyone know why PRINT# does not work? I had no problems using PRINT# > and INPUT# for strings on old versions of FB and ZB > The strings are DIM'd as DYNAMIC arrays. A regular DIM does not solve the > problem.