From: cuz Date: Wed, 28 Apr 2004 08:56:16 +0000 (+0000) Subject: Rewrote argument parsing X-Git-Tag: V2.12.0~841 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da3afb7cc7b4e10f87985da17e9ca81669d85ee2;p=cc65 Rewrote argument parsing git-svn-id: svn://svn.cc65.org/cc65/trunk@2985 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/c64.sgml b/doc/c64.sgml index 1ebcab31f..1d08486b5 100644 --- a/doc/c64.sgml +++ b/doc/c64.sgml @@ -251,15 +251,17 @@ Command line arguments can be passed to - RUN:REM,ARG1," ARG2", ARG 3,, ARG5, ... + RUN:REM ARG1 " ARG2 IS QUOTED" ARG3 "" ARG5 -Arguments are separated by commas. -There must be a comma after the first Leading spaces are ignored; trailing spaces are included unless the - argument was quoted. +Arguments are separated by spaces. +Arguments may be quoted. +Leading and trailing spaces around an argument are ignored. Spaces within + a quoted argument are allowed. The first argument passed to A maximum number of 10 arguments (including the program name) are + supported. @@ -276,7 +278,7 @@ interrupt handlers. Such routines must be written as simple machine language subroutines and will be called automatically by the interrupt handler code when they are linked into a program. See the discussion of the . - + Bugs/Feedback