I would like to write (or print) to a file numerical data in the following form:

11, 12, 13 (CHR13)
22, 23, 24 (CHR13)
etc

or just:

11 spc 12 spc 13 (CHR13)
22 spc 23 spc 24 (CHR13)
etc

In some programming languages (e.g. Fortran) this is easy. In VB the only way I can think of doing this:

concatenate the individual data items in string format until the EOL
and then when reading data back from the file I have to parse and convert the individual string items to Val(s).

I'm using VB5.

Is there any way to do this in a simpler manner?

P.S.

I'm trying to avoid the line-by-line format, such as:

12
13
14
22
23
24
etc.