| /* Forth data types */ |
/* Forth data types */ |
| typedef int Bool; |
typedef int Bool; |
| #define FLAG(b) (-(b)) |
#define FLAG(b) (-(b)) |
| |
#define FILEIO(error) (FLAG(error) & -37) |
| |
#define FILEEXIST(error) (FLAG(error) & -38) |
| |
|
| #define F_TRUE (FLAG(0==0)) |
#define F_TRUE (FLAG(0==0)) |
| #define F_FALSE (FLAG(0!=0)) |
#define F_FALSE (FLAG(0!=0)) |
| #endif |
#endif |
| |
|
| #ifdef DEBUG |
#ifdef DEBUG |
| # define NAME(string) printf("%08x: %s\n",(int)ip,string); |
# define NAME(string) printf("%08x: "string"\n",(int)ip); |
| #else |
#else |
| # define NAME(string) |
# define NAME(string) |
| #endif |
#endif |