Re: [Freedos-user] Other FreeCOM nonconformity
Hi, Jose Antonio Senna escribió: Logically,both are defensible. I prefer DRDOS behavior. Has somenone tested this under MS-DOS ? Probably syntax errors, ALL MS-DOS books instruct you to use the quotes: IF "%1"="XYZ" GOTO... Aitor --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Other FreeCOM nonconformity
Jose Antonio Senna wrote: I noticed another behavior difference between DRDOS and FreeDOS: If,in a batchfile there is the line: IF %1==XYZ GOTO LABEL and no argument is passed in command line when calling the batch file, Then DRDOS acts as if the comparison failed (that is,does not goto LABEL with above line,but goto LABEL if the line says IF NOT instead), while FreeDOS (FreeCOM v0.82 ak pl3 xms_swap) issues a "syntax error" message and ignores the line altogether (does not goto LABEL no matter whether the line says IF or IF NOT). Logically,both are defensible. I prefer DRDOS behavior. Has somenone tested this under MS-DOS ? JAS On MS-DOS, "Syntax error" -uso. --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Other FreeCOM nonconformity
I noticed another behavior difference between DRDOS and FreeDOS: If,in a batchfile there is the line: IF %1==XYZ GOTO LABEL and no argument is passed in command line when calling the batch file, Then DRDOS acts as if the comparison failed (that is,does not goto LABEL with above line,but goto LABEL if the line says IF NOT instead), while FreeDOS (FreeCOM v0.82 ak pl3 xms_swap) issues a "syntax error" message and ignores the line altogether (does not goto LABEL no matter whether the line says IF or IF NOT). Logically,both are defensible. I prefer DRDOS behavior. Has somenone tested this under MS-DOS ? JAS --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user