Geodesic Light Dome Controller Program

Dependencies:   mbed

scripting.h

Committer:
lolpcc
Date:
2010-03-24
Revision:
1:dc58f0b0eeec
Parent:
0:a7af7ec8b12f

File content as of revision 1:dc58f0b0eeec:

void clear_var(void);
void set_var(int c, char **a);
void sum_var(int c, char **a);
void point_var(int c, char **a);
void tst_var(int c, char **a);
void clr_var(int c, char **a);
void var_exec_error(int state);
int return_jmp(char *str);


#define     VAR_EXEC_ERROR      0x0001      /* Function called out side of an exec call */
#define     VAR_SET_CNT_ERROR   0x0002      /* Set Var call, wrong number of arguments */
#define     VAR_SUM_TYPE_ERROR  0x0004      /* Unknown type in sum call */
#define     VAR_SUM_CNT_ERROR   0x0008      /* SuM var call, wrong number of arguments */
#define     VAR_TST_CNT_ERROR   0x0010      /* Tst var call, wrong number of arguments */
#define     VAR_INDENT_ERROR    0x0020      /* No point to jump back to */
#define     VAR_TST_TYPE_ERROR  0x0040      /* Unknown type in test call */