mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +00:00
Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2987 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9d9c45a1f7
commit
28eec78cad
@ -3,20 +3,21 @@
|
|||||||
; Ullrich von Bassewitz, 2003-03-07
|
; Ullrich von Bassewitz, 2003-03-07
|
||||||
; Based on code from Stefan A. Haubenthal, <polluks@web.de>
|
; Based on code from Stefan A. Haubenthal, <polluks@web.de>
|
||||||
; 2003-05-18, Greg King
|
; 2003-05-18, Greg King
|
||||||
|
; 2004-04-28, Ullrich von Bassewitz
|
||||||
;
|
;
|
||||||
; Scan a group of arguments that are in BASIC's input-buffer.
|
; Scan a group of arguments that are in BASIC's input-buffer.
|
||||||
; Build an array that points to the beginning of each argument.
|
; Build an array that points to the beginning of each argument.
|
||||||
; Send, to main(), that array and the count of the arguments.
|
; Send, to main(), that array and the count of the arguments.
|
||||||
|
;
|
||||||
; Command-lines look like these lines:
|
; Command-lines look like these lines:
|
||||||
;
|
;
|
||||||
; run
|
; run
|
||||||
; run : rem no arguments because no comma!
|
; run : rem
|
||||||
; run:rem,arg1," arg 2" , arg 3 ,, arg5, ...
|
; run:rem arg1 " arg 2 is quoted " arg3 "" arg5
|
||||||
|
;
|
||||||
|
; "run" and "rem" are entokenned; the args. are not. Leading and trailing
|
||||||
|
; spaces outside of quotes are ignored.
|
||||||
;
|
;
|
||||||
; "run" and "rem" are entokenned; the args. are not. Leading spaces are
|
|
||||||
; ignored; trailing spaces are included -- unless the argument was quoted.
|
|
||||||
|
|
||||||
; TO-DO:
|
; TO-DO:
|
||||||
; - The "file-name" might be a path-name; don't copy the directory-components.
|
; - The "file-name" might be a path-name; don't copy the directory-components.
|
||||||
; - Add a control-character quoting mechanism.
|
; - Add a control-character quoting mechanism.
|
||||||
@ -133,4 +134,4 @@ name: .res NAME_LEN + 1
|
|||||||
.data
|
.data
|
||||||
argv: .addr name
|
argv: .addr name
|
||||||
.res MAXARGS * 2
|
.res MAXARGS * 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user