123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|544|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Wrong Output

Fri, 21 Dec 2012, 20:12
dna
Hello Again.

Here's something I might have over looked.

This code:


places special characters in front of the string. The only things I'm adding are spaces to the back of the string but when i$ is written to the file, some special character appears.

Where is my error?

-=-=-
DNA
Sat, 22 Dec 2012, 02:42
rockford
What is S$?

Perhaps that's your odd character?
Sat, 22 Dec 2012, 14:48
dna
Hey Rock.

The odd character appears in the file after the information is written. The text output on the screen is not affected.

The code has been Adjusted to reflect where the problem lies.

I$ reads a line of characters which are just words. I've checked the length and is concurs but I get some special character followed by some spaces and then my text.

-=-=-
DNA
Sat, 22 Dec 2012, 15:20
dna
I think I found the problem.

The writestring stores the length of the string as four bytes.
My text file shows these four bytes as a special character.

So I'll have to work around that problem.



-=-=-
DNA