question on limiting results found in a txt file - 20/10/06 11:37 AM
i have this code:
with this code it returns all the results found under the match. but if theres like over 200 results that come up, it gets kinda overloaded. so is there anyway to have it limit the results to somewhere aound 50 results..???
any info on this will be appreciated ...
thanks
Code:
alias m.imdb { .fopen imdb imdb.txt if $ferr { echo -a read error | fclose imdb | return } .fseek -w imdb *Titles (Partial Matches)* if !$feof && !$ferr { while $fread(imdb) != </ol> { var %a = $v1 if *Titles (Partial Matches)* iswm %a { blah blah stuff } else blah blah or else stuff } } .fclose imdb }
with this code it returns all the results found under the match. but if theres like over 200 results that come up, it gets kinda overloaded. so is there anyway to have it limit the results to somewhere aound 50 results..???
any info on this will be appreciated ...
thanks