[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MSWord problem (apple2 connection)
- Subject: Re: MSWord problem (apple2 connection)
- From: CUTjefbla@bconnex.net (Jeff Blakeney)
- Date: 1999/04/14
- Newsgroups: comp.sys.apple2
- Organization: Shaw@Home
- References: <7f08nk$ass$1@server05.icaen.uiowa.edu> <7f0cg6$bvk$1@server05.icaen.uiowa.edu>
- Reply-to: CUTjefbla@bconnex.net (Jeff Blakeney)
On 13 Apr 1999 21:21:10 GMT, apple2pd@ground.ecn.uiowa.edu (ISCA
AppleII Librarian) wrote:
>Anyway, to test my missing byte theory I did the following in basic.system
>and the monitor.
>
>bload /hd2/sen0404.doc,tbin,a$1001,l$4e00
>1000<1001.1c00m
>1c00:00
>create /hd1/sen0404.doc,tbin
>bsave /hd1/sen0404.doc,tbin,a$1000,l$4e00
One problem I see here is that you are adding an extra byte at $1C00
but are then cutting off the last byte when you save it to disk. The
L parameter is a length parameter and if you add one byte to a file
that is $4E00 bytes long, it then becomes $4E01 bytes long. :)
Try changing that last line to:
bsave /hd1/sen0404.doc,tbin,a$1000,l$4e01
and see if that makes a difference.
+---------------------------------------+------------------------------+
| My news server is spotty so you might | Jeff Blakeney - Dean of the |
| want to e-mail me a copy of any reply | Apple II University in A2Pro |
| to be sure I see it. CUT the obvious | on the Delphi online service.|
+---------------------------------------+------------------------------+
HyperCard IIgs course now in session in the A2Pro forum on Delphi
Learn to Program in GSoft BASIC course now in session