mIRC Homepage
Posted By: westor $read and 'b' flag option - 28/09/15 06:19 AM
Hello,

I wanna suggest an flag option into the $read identifier that will start reading an file from bottom to up (the opposite of now).

e.g:

$read($mircini,bw,*n0=*)

$read($mircini,b,n1=mirc)

- Thanks!
Posted By: Sat Re: $read and 'b' flag option - 28/09/15 01:44 PM
For large files, this will be slow - likely much slower than a forward search. Operating systems and storage devices are generally good at forward sequential (file/disk) access, and not so much at the reverse. In many scenarios it would probably be faster to use /filter to get all matches and then let your script take the last one. With that said, sure, why not.
Posted By: westor Re: $read and 'b' flag option - 28/09/15 01:51 PM
$read is slow for large files already :P , i thought about /filter but in some situations it cant be useful.
Posted By: Wims Re: $read and 'b' flag option - 28/09/15 03:32 PM
https://forums.mirc.com/ubbthreads.php/topics/241252/$read_and_$reade_suggestion#Post241252
Already suggested by you smile
Posted By: westor Re: $read and 'b' flag option - 28/09/15 03:35 PM
Originally Posted By: Wims
https://forums.mirc.com/ubbthreads.php/topics/241252/$read_and_$reade_suggestion#Post241252
Already suggested by you smile


LOOOOOOOOOOOOOOOOL ahahhahha i really forget that damn your memory Wims... <3
© mIRC Discussion Forums