From: cuz Date: Wed, 28 Apr 2004 12:08:54 +0000 (+0000) Subject: Command line arguments are now supported X-Git-Tag: V2.12.0~827 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ed253d417a76c181b5225e0b9f11e9d168bf785;p=cc65 Command line arguments are now supported git-svn-id: svn://svn.cc65.org/cc65/trunk@2999 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/c16.sgml b/doc/c16.sgml index d950940be..95998e5c0 100644 --- a/doc/c16.sgml +++ b/doc/c16.sgml @@ -200,7 +200,22 @@ library, because the latter does not support interrupts needed by the driver. Passing arguments to the program

-Command line argument passing is currently not supported for the C16/C116. +Command line arguments can be passed to + RUN:REM ARG1 " ARG2 IS QUOTED" ARG3 "" ARG5 + + + +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. + Program return code

diff --git a/doc/plus4.sgml b/doc/plus4.sgml index 4d9a9d909..41bcd0262 100644 --- a/doc/plus4.sgml +++ b/doc/plus4.sgml @@ -201,7 +201,23 @@ does not exist). Passing arguments to the program

-Command line argument passing is currently not supported for the Plus/4. +Command line arguments can be passed to + RUN:REM ARG1 " ARG2 IS QUOTED" ARG3 "" ARG5 + + + +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. + + Program return code