mIRC Home    About    Download    Register    News    Help

Print Thread
#172428 10/03/07 12:45 AM
Joined: Mar 2007
Posts: 1
T
Tuk Offline OP
Mostly harmless
OP Offline
Mostly harmless
T
Joined: Mar 2007
Posts: 1
hi, i noticed this bug in lastest mirc 6.x
mirc cannot read 1st line ' $read(file.txt,1) ' if
file.txt beginning with numbers, my txt:

---------------------------- cut here
02
04
08
---------------------------- cut here
$read(txt,1) return 04 and YES! $(read(txt,ZERO) return "2"
isn't "02".

Best regards Khaled and sorry for my poor english,

Tuk.

Tuk #172429 10/03/07 12:55 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/help $read

The first line, if it's a number, is assumed to be the number of lines in the file. There is a switch to prevent this, but I don't have mIRC in front of me to look it up. Check the help file and you should find it.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #172430 10/03/07 01:00 AM
Joined: Jan 2007
Posts: 259
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
$read(file,t) will not use the first line as the number of total lines.


Those who can, cannot. Those who cannot, can.
Kardafol #172444 10/03/07 12:50 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That was it. I had "t" stuck in my head, but I didn't think I was right and didn't want to state the wrong thing. Thanks for checking/posting.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard