Hi Bart,

> that syntax is unfortunately incompatible with FreeCOM itself and
> COMMAND.COM too.
I always forget about FreeCOM itself :<<

> How about this:

my solution would be


   set AMP=&
   if "%AMP%" == "" set AMP=^^^&

   echo %STR% %AMP%>> %FILE%

tested on windows only.

> as for stack growing down to heap I think the compiler's stack
> checking / malloc returning NULL should take care of that..

in theory yes.
in praxis only if stack checking is enabled...

thanks for taking care of /lfn (and other bugs)

Tom



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to