I had a look at the command line parser for the C64 today. While I don't think that the REM is evil, the necessity for a leading comma is somewhat unorthogonal, and I tried to remove it without making the code much larger. When changing the code I found that there is not really a need for the comma at all. Other (usually bigger) platforms don't use a comma to separate arguments, and in fact it would simplify the C64 code. But since the comma is often used when passing arguments to builtin BASIC functions, I would like to hear if having no comma is ok. To show an example (argument #3 is empty): Now: RUN:REM,arg1, "arg2: foo, bar",,arg4 Proposed: RUN:REM arg1 "arg2: foo, bar" "" arg4 Would the latter be acceptable, or is Proposed: RUN:REM arg1, "arg2: foo, bar",,arg4 the better solution, even if it needs slightly more code? Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sat Apr 24 11:22:53 2004
This archive was generated by hypermail 2.1.8 : 2004-04-24 11:22:59 CEST