Hi! On Tue, Apr 27, 2004 at 09:13:21AM +0200, carlos wrote: > my opinion is, that the first comma and the rem is ugly. if you want to > test > your program with different parameters and start it very often, the rem > and > the first comma, which you alway forget, slows down the code and test > cycle > very much. I don't like the leading comma, too. This is the reason, why I'm currently recoding the routine. The REM is not nice, but I can live with it. Using a double quote instead of the REM may seem as more convenient on the first glance (and in fact it was one of the ideas Stefan tested in his first version). But if you try it, you will notice that the line editor switches into quote mode when doing so, which means that backspace and other control keys won't work as before. This behaviour is annoying, so I do prefer the REM. Reading from the screen is an interesting idea, and it's good to have people who think different, even if I don't see real advantages in this case. The only real advantage is that the REM is no longer needed. But have a look at the list of problems: * Any amount of white space make the input hard to parse. * run may be written rU, so we have to check this, too. * We need the cursor position, and must make assumptions on the relation between the cursor position and the position of the RUN command. * Because parsing is more complex, the code will get larger. My opinion is that having all these disadvantages, just to avoid the REM in front of command line arguments is not worth it. The ability to have a 1000 char command line (instead of 80 chars) is of no real use, because one would need 1K of argument vector space just to index this command line. I agree that the first comma is ugly, and this is why I have taken a look at the code to remove this necessity. I'm still glad, Stefan and Greg created the first versions of the command line parser, so it was possible to evaluate solutions and come to a final one. Once we agree on the final format of the command line, I will try to port/convert the code for the other CBMs, so in the next release, all CBMs should be able to take commands on the command line. 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 Tue Apr 27 12:03:43 2004
This archive was generated by hypermail 2.1.8 : 2004-04-27 12:03:49 CEST