Re: database.e db_open_noeds?]
- Posted by euman at bellsouth.net Mar 28, 2002
- 358 views
Hello, If your using Windows then my help file that contains EDS Database documents/help is here: http://www.rapideuphoria.com/refman23.zip from the EDS docs. tries = 0 while 1 do err = db_open("mydata", DB_LOCK_SHARED) if err = DB_OK then exit elsif err = DB_LOCK_FAIL then tries += 1 if tries > 10 then puts(2, "too many tries, giving up\n") abort(1) else sleep(5) end if else puts(2, "Couldn't open the database!\n") abort(1) end if end while Euman euman at bellsouth.net Q: Are we monetarily insane? A: YES ----- Original Message ----- From: "Salix" <salix at freemail.hu> To: "EUforum" <EUforum at topica.com> Sent: Thursday, March 28, 2002 9:21 AM Subject: [Fwd: database.e db_open_noeds?] > > Hi, > > Sorry, if you receive this email twice but I do not see in the Topica > archiv that it has ever arrived to EUforum. So here it is again: > > -------- Original Message -------- > Subject: database.e db_open_noeds? > Date: Wed, 27 Mar 2002 11:01:28 +0100 > From: Salix <salix at freemail.hu> > To: EUforum <EUforum at topica.com> > > Hello all, > > Is there any return code for db_open() like DB_OPEN_NOEDS? How do you > recognize that a file you wanted to open is actually not an Euphoria > Database System file? (Any code or tipp is welcome.) > > Bye, > > Salix > > > >