mIRC Home    About    Download    Register    News    Help

Print Thread
/fopen bug (Khaled, check it!) :) #60516 16/11/03 03:28 AM
Joined: Dec 2002
Posts: 44
G
GodGell Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 44
hey!
mirc 6.1 and 6.12 are great! except that it must be payed, the older mirc was free and that was one of its much great things.. hmm. well, i wanted to say:
i wrote a script that crawls over a file with the old $read and the new /fopen methods and counts the time. the results with a 21.88KB text file are:
$read: 1531 ms
/fopen: 250 ms
congrats, much faster, and practic smile
BUT:
it cant open read-only files. i'm sure its because mirc tryes to open it for read and write, and it does not have permission for write. that's why i suggest to put a new switch into /fopen like -r that would open it only for reading. or adding -r and -w and you must have specified at least one, -r for read, -w for write, -rw for read and write smile

please help this smile

Khaled, if you fix it but you want to wait with releasing it until the next version, please release something like a 'service pack'.. or a simple mirc v6.1201 or 6.121 smile


sorry for my bad english
watch out when you're in front of my scalar howitzer smile

Punks not dead!
Re: /fopen bug (Khaled, check it!) :) #60517 16/11/03 04:23 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
mirc was never free.. only that you could hide the "register" thingie, so it's the same as befor.. and try to search this foum, then you find many posts about this


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: /fopen bug (Khaled, check it!) :) #60518 16/11/03 05:36 PM
Joined: Dec 2002
Posts: 37
O
oracel Offline
Ameglian cow
Offline
Ameglian cow
O
Joined: Dec 2002
Posts: 37
Sounds like a good idea to me. The default (no -r,-w or -rw switch) should be read & write though.


Bloop
Re: /fopen bug (Khaled, check it!) :) #60519 17/11/03 08:06 PM
Joined: Dec 2002
Posts: 44
G
GodGell Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 44
heeeey laugh
lets just say mirc was free and you was able to donate Khaled smile i havent find any other topix on /fopen. smile


sorry for my bad english
watch out when you're in front of my scalar howitzer smile

Punks not dead!