At Thu, 11 Mar 2004 1:22am +0100, Eric Auer wrote:

> 
> Hi!
> 
> > 1) display.com
> >  I'm try out to LOADHIGH string E:\fdos\bin\display.com con=(ega,866,)
> > Got error message:
> > "FreeDOS DISPLAY ver. 0.10
> > Syntax error(016) Missing required parameter"
> 
> This is a known bug in FreeCOM command,com: Normal loading and LOADHIGH
> behave differently when it comes to stripping leading spaces from the
> command line arguments. IMHO leading spaces should not be stripped at
> all because some programs - like DISPLAY - make assumptions abou them
> (which they admittedly should not do).

I agree; I have seen demo code for parsing command lines that assumed the 
first byte of the string would always be a space.

-uso.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to