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