-> the file. It may contain a CHR$(26), also known a EOF.
Ah! That does account for an oddity I have noticed:
I have a little encryption/decryption program. The encrypted files it
produces consist of *all* possible 7-bit ASCII characters, i.e. CHR$(0)
to CHR$(127), apparently-randomly jumbled. CHR$(26) is just as likely to
be found at any point in the file as any other of these characters.
For sending encrypted files on disk to other Mac users, or directly to
them by modem, this program works magnificently. However, I have
sometimes tried sending the encrypted files as attachments to e-mail
messages, or by uploading them to a BBS. Sometimes, when I have tried
this, the files have been mysteriously cut short after a few dozen, or
maybe a few hundred, characters. Now, I guess I can see why. The files
have been (mis)handled by PC-DOS, which has interpreted any occurrence
of CHR$(26) as an EOF and quit there.
How ridiculous!
dow
--- PCBoard (R) v15.3 (OS/2) 5
---------------
* Origin: FidoNet: CAP/CANADA Support BBS : 416 287-0234 (1:250/710)
|