1. only can open 25 files ?

hi...

from the description of euphoria tutorial, getc.ex,
euphoria can only open 25 files at the same time. is it true ?
if i would like to open more than 25, how ?

thanks in advance

new topic     » topic index » view message » categorize

2. Re: only can open 25 files ?

On this subject, a reference may be useful :

relnotes.doc
........
 Version 2.1 alpha-test release January 15, 1999:
........
  * The limit on the number of open files
    was raised to 25 from 15.
    Three of these files are 0,1,2: standard-input,
    standard-output and standard-error, so you can
    now have up to 22 of your own files open
    simultaneously.
    (As far as we know, no one ever exceeded
    the old limit, but it seemed wise to raise it.)
........

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

3. Re: only can open 25 files ?

A brief though on the matter (compared to my earlier novel):

Does open_dll count against the file limit as open does, or are they =
separate file tables?

Michael J. Sabal

>>> kinz at peterlink.ru 05/23/01 02:17PM >>>
    (As far as we know, no one ever exceeded
    the old limit, but it seemed wise to raise it.)

new topic     » goto parent     » topic index » view message » categorize

4. Re: only can open 25 files ?

Michael J. Sabal writes:
> Does open_dll count against the file limit as open does, 

No.

> or are they separate file tables?

They're separate. 
I don't know if Windows imposes any limit (worth worrying about)
on the number of .dll's that you can open.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: only can open 25 files ?

could it have something to do with files=x in CONFIG.SYS?

--Mike
----- Original Message -----
From: <jimmy17 at indosat.net.id>
To: "EUforum" <EUforum at topica.com>
Subject: RE: only can open 25 files ?


>
>
>
> >
> >I suspect that the limitation is based on the MS-DOS FILES configuration
> >parameter more than any limits inside Euphoria.
> >
> >Out of curiosity, why do you want to have some many simultaneously opened
> >files?
> >
> >-----------
> >cheers,
> >Derek Parnell
>
> well, consider if an inventory application need to open those files, i
could
> have anigthmare than. ( btw sometimes my senior would like me to port
> foxpro application into other system for some reason, and as far as i
know,
> in foxpro we can open many files together. )
>
> thanks anyway.
>
>
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

6. Re: only can open 25 files ?

Robert,

I believe this depends on your Windows version. The DOS limits persisted at
least until Win95.

Also, Windows has (had?) a bad habit of not freeing handles at the same rate
you used them, thus forcing you to reboot every now and then. Might take
hours, might take weeks, depending on how fast you used them up. I recall
hearing that with Win31 this was a major source of system blockage,
especially when not-too-elegant programs shut down without closing open
files first.

Gerardo

----- Original Message -----
From: "Robert Craig" <rds at RapidEuphoria.com>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, May 23, 2001 4:06 PM
Subject: Re: only can open 25 files ?


> I don't know if Windows imposes any limit (worth worrying about)
> on the number of .dll's that you can open.
>
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

7. Re: only can open 25 files ?

I have been been told by a certain manufacturer that produces some
software we install, that for this software, In Windows 95/98/ME, the line
"FILES=200" must be in the Config.sys file, or it won't run.
    The same manufacturer also tells us, every time we have to try and
salvage a customers database, they recommend running it on a PC dedicated to
that purpose, doing backups EVERY TIME any data is changed, and NOT to leave
it running unattended.
    I guess you just never know when Joe Blow might get impatient trying to
shut it down and push the power button... or the building might lose
power... or someone might unplug the wrong power strip... or...

new topic     » goto parent     » topic index » view message » categorize

8. Re: only can open 25 files ?

----- Original Message -----
From: Jason <mirwalds at swbell.net>

>     I have been been told by a certain manufacturer that produces some
> software we install, that for this software, In Windows 95/98/ME, the line
> "FILES=200" must be in the Config.sys file, or it won't run.
>     The same manufacturer also tells us, every time we have to try and
> salvage a customers database, they recommend running it on a PC dedicated
to
> that purpose, doing backups EVERY TIME any data is changed, and NOT to
> leave it running unattended.

The dedicated PC is good advice. I would add: one running _nothing_ else.
Since any and all Windows programs can and will eventually send the
computer spiralling into the turf....

>     I guess you just never know when Joe Blow might get impatient trying
to
> shut it down and push the power button... or the building might lose
> power... or someone might unplug the wrong power strip... or...

That's the reason UPS boxes must be well hidden...
One sitting out in the open is just _too_ convenient a place for the janitor
to plug in
that industrial size vacuum cleaner.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

9. Re: only can open 25 files ?

----- Original Message -----
From: "Jason" <mirwalds at swbell.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: only can open 25 files ?


>     I have been been told by a certain manufacturer that produces some
> software we install, that for this software, In Windows 95/98/ME, the line
> "FILES=200" must be in the Config.sys file, or it won't run.
>     The same manufacturer also tells us, every time we have to try and
> salvage a customers database, they recommend running it on a PC dedicated
to
> that purpose, doing backups EVERY TIME any data is changed, and NOT to
leave
> it running unattended.
>     I guess you just never know when Joe Blow might get impatient trying
to
> shut it down and push the power button... or the building might lose
> power... or someone might unplug the wrong power strip... or...

Or switch to Linux, you mean?

Gerardo

new topic     » goto parent     » topic index » view message » categorize

10. Re: only can open 25 files ?

sephiroth _,

Means that this how-many-files-can-I-open question is one of the grey areas
in DOS/Windows that, justifiedly or not, tends to spook people away.

I am not a Microsoft hater, far from it. MS has given us many useful and
efficient tools, and working environments like Windows and MSOffice are far
more friendly/productive/efficient than any their competitors have produced,
with few exceptions.

But Microsoft insists in some basic mistakes -at least that's what they are,
IMHO- like withdrawing or hiding elementary information that may turn out to
be vital to both users and developers. Why they do it is immaterial to me;
the fact remains that Windows docs and help files usually omit a lot of
basic info, and other OS's -like Linux- certainly don't.

I'd rather be told the truth, every time, even if it's a truth I don't like.
I won't uninstall Windows just because it can't open more than 25 files, or
250, or 10, just like I won't dump my car because it isn't a Ferrari. But my
car's manual states clearly every spec I might possibly want to know, and
Windows doesn't.

So, people are turning to Linux (and other OSs), not because it's
necessarily better, but in part because it tells you exactly what you can
and can't do, even if you have to wade through dozns of how-tos and faqs.
And the same goes for commercial Windows apps, most of which inherit the MS
shut-up-and-keep-your-fingers-off-the-keyboard attitude.

A few days ago I saw my nephew install AutoCad R14 for Windows. Without
telling anybody or asking for agreement, not a word in any readme or
anything, it associated the .scr extension (which AutoCad gives to scripts)
with Notepad. So, no more clicking on Explorer to test screensavers. OK, no
sweat, nobody's perfect. After all, I'm no newbie, so -since AutoCad offered
no solution- all I had to do was to reassociate .scr with .. with what?
Where does it say in the Windows documentation which is the program, dll or
whatever that runs screensavers? There isn't any screensaver.exe, you know.

That's what I meant. Sorry I didn't make myself clear.

Gerardo

----- Original Message -----
From: "sephiroth _" <euman2376 at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, May 25, 2001 12:11 PM
Subject: RE: only can open 25 files ?


>
> what's that supposed to mean?
>
> Gerardo wrote:
> > Or switch to Linux, you mean?
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu