JWB46
Structural
- May 31, 2002
- 67
Hi Guys.
I want to create files that can be read directly as EXCEL files from a BASIC program running under DOS.
What I do right now , for example, is as follows:
1000 OPEN "O",1,A$ + ".RYD"
1005 WRITE #1, "X", "Y", "Z"
1010 WRITE #1, P, Q, R
1015 CLOSE 1
This creates a file named A$.RYD with the data perfectly ok etc, but when trying to read it as an EXCEL file I have to do a bit of messing around to get the numbers to line up in cells properly.
It must be pretty simple to format the data to go directly into EXCEL.
Can anyone help please?
I want to create files that can be read directly as EXCEL files from a BASIC program running under DOS.
What I do right now , for example, is as follows:
1000 OPEN "O",1,A$ + ".RYD"
1005 WRITE #1, "X", "Y", "Z"
1010 WRITE #1, P, Q, R
1015 CLOSE 1
This creates a file named A$.RYD with the data perfectly ok etc, but when trying to read it as an EXCEL file I have to do a bit of messing around to get the numbers to line up in cells properly.
It must be pretty simple to format the data to go directly into EXCEL.
Can anyone help please?