• Subject: Re: Generating to a Word File from Source Comments
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Thu, 5 Apr 2001 12:45:11 -0500 (CDT)



On Thu, 5 Apr 2001 jfinney@omnia.co.za wrote:

> > "how do I create a file to the IFS in a basic WORD (.doc) format?"
> 
> Since the IFS stores in ASCII, all you need to do is to save the file you are
> writing to with an extension of ".doc".

The IFS can store a file in ASCII, but it can also store a file in EBCDIC
or whatever other character set you can dream up.  When writing the
document, you need to make sure you use ASCII if you want it to work in
word.

If you're just putting plain text into the document, I wouldn't call it
".doc".   Call me pedantic if you like, but if its a text document, it
should be a ".txt".   No point in lying about it!

I guess I'm assuming that the reason he wants it in Word format is because
he needs the extra features that plain text can't do, such as different
fonts, underlines, colors, sizes, etc.  Otherwise, why does it need to be
a word document at all?


> When one opens the file in Word, the converters (to install ALL of the
> convertors and filters written for MS Word, it is part of the custom option of
> the MSOFFICE setup program) will automatically invoke a wizard and the user
> needs to select "plain text" as the encoding method. Then save it as a Word
> document.
> 
> What Scott wrote about the MSWord being a proprietary format is correct. The
> above 0.02 ZAR will only work if a new IFS file is created each time (ie. not
> opened for edit unless the file which has been opened in Word already has not
> been saved in Word format).
> 
> Hope it helps
> 
> Regards
> John.

I agree with the rest of the things you said.  This method will work.


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].