Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.


21 Argument Parsing

There are two examples in this chapter. One is for any AmigaDOS and the other is for AmigaDOS 2.0 and above. They both illustrate how to parse the arguments to your program. If your program is started from the Shell/CLI the arguments follow the command name on the command line, but if it was started from Workbench (i.e., you double-clicked on an icon for the program) then the arguments are those icons that were also selected at that time (see your Workbench manual for more details).


Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.