List,
I'm writing to a textfile, but need to write out lines with a ' (quote) around certain values. For example I want a line in the textfile to read:
Diver_Acclimatized_at_Altitude='no'
What I get is:
Diver_Acclimatized_at_Altitude=no
Currently I have;
b :=AccToAlt.text;
Write (myfile2, 'Diver_Acclimatized_at_Altitude='+b);
WriteLn(myfile2);
b gets it's value from a radiogroup selection on the gui. The only 2 choices are 'no' or 'yes'.
How can I write out the proper text?
(The text file is for the input to a fortran program, so I need to preserve the input formatting)
Thanks in advance,
Harrison
I'm writing to a textfile, but need to write out lines with a ' (quote) around certain values. For example I want a line in the textfile to read:
Diver_Acclimatized_at_Altitude='no'
What I get is:
Diver_Acclimatized_at_Altitude=no
Currently I have;
b :=AccToAlt.text;
Write (myfile2, 'Diver_Acclimatized_at_Altitude='+b);
WriteLn(myfile2);
b gets it's value from a radiogroup selection on the gui. The only 2 choices are 'no' or 'yes'.
How can I write out the proper text?
(The text file is for the input to a fortran program, so I need to preserve the input formatting)
Thanks in advance,
Harrison