Re: Standard Input Max Length Limitation

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> Matt Lewis wrote:
> > Is there a particular reason why you want to run under DOS instead of
> > windows?  You can use exwc.exe, which is the console version of the
> > interpreter for windows.
> I thought about that but a test showed it limited input to 79 characters!

I'm not sure why that is, but there's no magic number built into
Euphoria itself that limits gets(0). It will happily malloc
space for millions of characters.

If I open a command-prompt window with XP,
and hold down the 'x' key, it complains that
"'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx' is not recognized as an internal 
or external command, operable program or batch file"

But when I reach 259 x-characters it changes the complaint to:
"The input line is too long."

Note, I'm not running a Euphoria program at all,
just entering a command at the prompt.

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu