Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Paradox Engine 3.0 for C - these macros can be used to set and test for blank fields, however, http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
These macros can be used to set and test for blank fields,  however,
PXPutBlank and PXFldBlank are quite adequate and are not dependent on type.

#define BLANKDATE       0x80000000L
#define BLANKLONG       0x80000000L
#define BLANKSHORT      0x8000
void BLANKDOUBLE(double *x);

#define ISBLANKALPHA(x)  ((x)[0]                == 0x0)
#define ISBLANKSHORT(x)  ((unsigned short)(x)   == BLANKSHORT)
#define ISBLANKLONG(x)   ((unsigned long)(x)    == BLANKLONG)
#define ISBLANKDATE(x)   ((unsigned long)(x)    == BLANKDATE)
int ISBLANKDOUBLE(double x);

See Also: PXPutBlank PXFldBlank

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson