/*
   CyberRax Programming (C) 2002 - 2003
   TITLE:   NUMBERS.H--
   DESCRIPTION:   Definies several numbers for those of us who tend to write
                  them out with words
   LAST MODIFIED:   21 Aug 2003
   PROCEDURES DEFINED IN THIS FILE:
       <none>
*/

? ifndef _NUMBERS_
? define _NUMBERS_	TRUE


? define NULL			0
? define OK			NULL
? define BAD			NULL
? define NONE			NULL
? define SAME			NULL
? define EMPTY			NULL
? define NOTHING		NULL
? define NO_FLAGS		NULL

? define NOT_USED_BEFORE	-1

enum { ZERO,ONE,TWO,THREE,FOUR,FIVE,SIX,SEVEN,EIGHT,NINE,TEN,
       ELEVEN,TWELVE,THIRTEEN,FOURTEEN,FIFTEEN,
       SIXTEEN,SEVENTEEN,EIGHTTEEN,NINETEEN,TWENTY };

enum { FIRST = ONE,SECOND,THIRD,FOURTH,FIFTH,SIXTH,NINETH,TENTH,
       ELEVENTH,TWELVETH,THIRTEENTH,FOURTEENTH,FIFTEENTH,
       SIXTEENTH,SEVENTEENTH,EIGHTEENTH,NINETEENTH,TWENTIETH };

? define THIRTY		30
? define FOURTY		40
? define FIFTY		50
? define SIXTY		60
? define SEVENTY	70
? define EIGHTY		80
? define NINETY		90
? define HUNDRED	100
? define TWOHUNDRED	200
? define THREEHUNDRED	300
? define FOURHUNDRED	400
? define FIVEHUNDRED	500
? define SIXHUNDRED	600
? define SEVENHUNDRED	700
? define EIGHTHUNDRED	800
? define NINEHUNDRED	900
? define THOUSAND	1000

? define TEN_H		0x10
? define TWENTY_H	0x20
? define THIRTY_H	0x30
? define FOURTY_H	0x40
? define FIFTY_H	0x50
? define SIXTY_H	0x60
? define SEVENTY_H	0x70
? define EIGHTY_H	0x80
? define NINETY_H	0x90
? define HUNDRED_H	0x100
? define TWOHUNDRED_H	0x200
? define THREEHUNDRED_H	0x300
? define FOURHUNDRED_H	0x400
? define FIVEHUNDRED_H	0x500
? define SIXHUNDRED_H	0x600
? define SEVENHUNDRED_H	0x700
? define EIGHTHUNDRED_H	0x800
? define NINEHUNDRED_H	0x900
? define THOUSAND_H	0x1000

? define sizeCHAR	ONE
? define sizeBYTE	sizeCHAR
? define sizeINT	sizeCHAR * TWO
? define sizeWORD	sizeINT
? define sizeLONG	sizeINT * TWO
? define sizeDWORD	sizeLONG

? define size32		SIXTEEN * TWO
? define size64		size32 * TWO
? define size128	size64 * TWO
? define size255	255
? define size256	size128 * TWO
? define size512	size256 * TWO
? define size1024	size512 * TWO
? define size1kB	size1024
? define size2kB	size1kB * TWO
? define size3kB	size1kB * THREE
? define size4kB	size2kB * TWO
? define size5kB	size1kB * FIVE
? define size6kB	size3kB * TWO
? define size7kB	size1kB * SEVEN
? define size8kB	size4kB * TWO
? define size9kB	size3kB * THREE
? define size10kB	size5kB * TWO
? define size16kB	size8kB * TWO
? define size32kB	size16kB * TWO
? define size64kB	size32kB * TWO
? define size128kB	size64kB * TWO
? define size256kB	size128kB * TWO
? define size512kB	size256kB * TWO
? define size1024kB	size512kB * TWO
? define size1MB	size1024kB


? endif


/* end of NUMBERS.H-- */
