mIRC Home    About    Download    Register    News    Help

Print Thread
#98248 21/09/04 11:52 PM
S
stAkeR
stAkeR
S
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,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
Lmao, that's an interesting bug.

Confirmed, mIRC 6.16, WinXP + SP2

Greets

#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,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
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

#98252 22/09/04 11:55 AM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
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.


Link Copied to Clipboard