+++ /dev/null
-#include "cll1.h"
-
-/* try to run: ./arguments1 -x xxx yyyy -c cccc */
-
-program
-{
- if_args
- {
- for_args
- {
- if this_arg[0] == '-')
- {
- printf("Command line switch: -%c ",ptr[1]);
- if (next_arg) then
- {
- echo("followed by: ",next_arg);
- skip_next;
- }
- print("");
- }
- else
- print("Standalone argument: ",ptr);
- }
- }
- else
- print("Bleeeeh, no arguments supplied... :-(");
-}