Next
Previous
Contents
Command line arguments can be passed to main()
after BLOAD. Since this is not
supported by BASIC, the following syntax was chosen:
]CALL2048: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
main
is the program name.
- A maximum number of 10 arguments (including the program name) are
supported.
These are defined to be OpenApple + number key.
Next
Previous
Contents