home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
acad
/
c
/
postscri
/
stdmacro.h
< prev
Wrap
Text File
|
1994-06-19
|
433b
|
11 lines
/*--- stdmacro.h -------------------------------------------------*/
#define _CountOf_(A) ((sizeof (A))/(sizeof (A[0])))
#define _InRange_(Low, Value, High) ((((int)Low) <= ((int)Value)) && (((int)Val
ue) < ((int)High)))
#define _RangeCheck_(Low, Value, High) ((((int)Low) <= ((int)Value)) && (((int)
Value) < ((int)High)))
#define FALSE 0
#define TRUE 1
typedef char boolean;
#define _Max_(A,B) (((A) > (B)) ? (A) : (B))