- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This looks relatively simple but I need to save some text with apostrophes. I tried
but that does not seem to work.
In the output file (bottle1.bt1) I need a line that reads like
BottleName= "New Bottle"
Thanks for any help
Sumit
This looks relatively simple but I need to save some text with apostrophes. I tried
write(botname,'(A15)') ' "New Bottle" ' open(18,FILE="bottle1.bt1",status='replace') write (18,*) '&BottleInput' Write (18,*) 'BottleName=',trim(botname)
but that does not seem to work.
In the output file (bottle1.bt1) I need a line that reads like
BottleName= "New Bottle"
Thanks for any help
Sumit
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add DELIM="QUOTE" to the OPEN.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page