Re: Thanx
- Posted by "Wallace B. Riley" <wryly at MINDSPRING.COM> Aug 30, 1997
- 646 views
At 11:17 PM 8/29/97 +0700, you wrote: >---------------------- Information from the mail header ----------------------- >Sender: Euphoria Programming for MS-DOS <EUPHORIA at >MIAMIU.ACS.MUOHIO.EDU> >Poster: "Christopher K. Lester" <cklester at FLASH.NET> >Subject: Re: Thanx >------------------------------------------------------------------------------- > >>I want to find something that may be in the file, but I don't >>know where it is or even for certain that it exists. > >Have you considered writing your data to the file using print(filenum, >database)? > >Having saved the database, you just do sequential searches through an >index... say, the first element. > >Right guys? > >Later! >ck > >P.S. This involves a lot more, but I'm just testing the waters of >appropriateness. :) > Thanks to you, but your suggestion isn't practical. I don't write to the file, it just exists. I made it up a long time ago and it just sits there, waiting for me to refer to it. That bit about not knowing whether something is in it or not is a bit strong -- if I as a human were looking up something, I'd know ahead of time whether what I was looking for would be there; but the computer isn't human. You give it bad info, it goes ahead and tries to find it. That is unfortunately all too easy in the project I'm working on. I've found that out the hard way more than once. But thanks again. Wally Riley wryly at mindspring.com