Can someone tell me how to write whole lines to text files. Here is what I have tried but got just the first word 'do'.
is has opened unit 7 as append for an existing file
CHARACTER*50 newQuestion
read *, newQuestion
write(7, '(A)') newQuestion
say i type "do you want to?" it only adds the 'do' to the file but i want the whole line
Thanks
is has opened unit 7 as append for an existing file
CHARACTER*50 newQuestion
read *, newQuestion
write(7, '(A)') newQuestion
say i type "do you want to?" it only adds the 'do' to the file but i want the whole line
Thanks