mIRC Home    About    Download    Register    News    Help

Print Thread
#98248 21/09/04 11:52 PM
Joined: Sep 2004
Posts: 5
S
stAkeR Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2004
Posts: 5
yet, $read $lines /filter and anything that reads a file, will not read any lines after a line containing $chr(26).

cant extrude it with filter, cant bypass it either,
basically your ****** if $chr(26) isin your text file

im using mirc 6.16

am i wrong?

#98249 22/09/04 12:04 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Lmao, that's an interesting bug.

Confirmed, mIRC 6.16, WinXP + SP2

Greets


Gone.
#98250 22/09/04 12:27 AM
Joined: Dec 2002
Posts: 230
G
Fjord artisan
Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
The ASCII 26 character signals the end of the file. I don't think this is a bug...

#98251 22/09/04 12:53 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Are you sure? In the ascii table I looked up it said it was:

026 032 01A 00011010 SUB (Substitute)

Anyway, still interesting to know, had never heard of that.

Greets


Gone.
#98252 22/09/04 11:55 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
As greeny said, ASCII character 26 is the EOF (End-Of-File) character, and by all rights it should never appear in a text file except to signify the end of a file. The important thing is that /bread, which is meant for binary files (and can therefore contain an EOF character) will correctly read beyond EOF.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard