Read, Write Statements

In Windows 7, I need Xojo code to read from C:\Desktop the file Input.csv where each row contains three variables dimensioned Double. I want to read these in a do loop from i = 1 to n records with FORMAT(F4.1,1x,F17.15,1x,F17.15).

Also, I need code to write 8 calculated variables dimensioned Double to the file Output.txt in C:\Desktop with FORMAT( F4.1,7(5X,F10.5)).

The many combinations of Open , Read and Write statements I have written do not work.

Help appreciated,
jdlifsey@bellsouth.net

Please post your code.

please show us what you did do

Kem… got here 1/2 second before ME :slight_smile:

Need a coffee too ?