Hey Guys,
I've run out of flags. Needing more, I walked into the think-tank.
Remember that binary numbering system? Someone back in '05 eluded
to using multiple flags for testing conditions. So I thought I'd
expand on that for anyone that needs more than 16 flags.
Admittedly, this will require you to document your macros lest ye
be caught in a whirlpool of numbers downing in your own creativity
Switch your mindset to binary and realize up to 65,536 flags (2^16)!
Though I don't think I've experienced this...for those of you
concerned about AHP using flags 15,16 for dawn/dusk, that would
still leave you with 14 flags (16,384) with which to apply to the
binary method.
So, here we go:
Flag 1 remains flag 1.
Flag 2 remains flag 2.
This is where it starts to change.
The third new flag (binary 0011) is now Flags 1 and 2 both set.
The fouth new flag (binary 0100) is now Flag 4 (only) set.
The fifth is now Flags 4 and 1 both set.
And so on...ad infinitum (well, almost)
Decimal to binary conversion is beyond the scope of this posting.
Suffice it to say, if you want to learn some binary, you'll get
all the flags you'll ever need and then some.
And yes, you could use some dummy modules along with the binary
thing and work more pseudo flags than your PC's addressing system
can likely handle; at least in our lifetimes
. Another story...
have fun!