IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2006, 10:43:47 AM (19 years ago)
Author:
eugene
Message:

added last, next, return, fixed continue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/init.c

    r9040 r10846  
    77int date            PROTO((int, char **));
    88int echo            PROTO((int, char **));
     9int exec_last       PROTO((int, char **));
     10int exec_next       PROTO((int, char **));
    911int exec_break      PROTO((int, char **));
    10 int exec_continue   PROTO((int, char **));
    1112int file            PROTO((int, char **));
    1213int getchr_func     PROTO((int, char **));
     
    4445  {"echo",          echo,               "type this line *"},
    4546  {"break",         exec_break,         "escape from function *"},
    46   {"continue",      exec_continue,      "next loop iteration"},
     47  {"continue",      exec_next,          "next loop iteration"},
     48  {"next",          exec_next,          "next loop iteration"},
     49  {"last",          exec_last,          "last loop iteration"},
     50  {"return",        exec_last,          "exit from macro"},
    4751  {"file",          file,               "test file existence"},
    4852  {"getchr",        getchr_func,        "find character in string"},
Note: See TracChangeset for help on using the changeset viewer.