View Single Post
Old 05-22-2008, 06:07 AM   #47
Clemenseken
eWriter
Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.Clemenseken can program the VCR without an owner's manual.
 
Clemenseken's Avatar
 
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
readline-problem

Hi!
I did -some time ago- try to get "readline" to jump to a specific line - w/o success.
If anyone finds a working way, THAT would be the most elegant solution IMHO...

In order to make search faster anyway, I looked into some general javascript docu and found/tested "match"; that works a lot faster but did not "like" larger dictionary files (that ran with the original "readline" w/o problems). Hmmmm.

So here's the altered code from my function "getDict":
Code:
{try {var stream = new Stream.File(dPath);
var binSea =  String(stream);
var aaa = eval("/\\n"+this.cNum+".*/");
var Ergebnis = binSea.match(aaa)+"";
if (Ergebnis != null)	found=1; [...]
If anybody is experienced or has time on his hands the "readline" jumping certainly would be a "major breakthrough" in relation to larger files...

Thanks for any help / proactive development!
Clemenseken is offline   Reply With Quote