On Jun 21, 7:02 pm, "Michael J. Mahon" <mjma...@aol.com> wrote:
I have several times had a need to pass a small integer to a program
and thought it would be most convenient to pass it on the command line
that invoked the program.
ProDOS parses, converts, and ignores the "V" (volume) specifier after a
program name (which is interesting, since it should probably give a
syntax error).
This opens the possibility of passing a single-byte value, since values
of 0-255 are acceptable.
Unfortunately, ProDOS discards the value after converting it to binary,
so the program will have to re-scan the "V" parameter out of the input
buffer ($200) and re-convert it, but at least it's possible.
Huh! Well I never knew that. Thanks Michael, that's handy to know.
Curious why they decided to implement some 'dummy' command arguments
for DOS 3.3 compatibility but left others out; MAXFILES for instance.