On Mon, 22 Dec 2003 20:52:26 -0800, Cyhawk wrote: > Hey all, my question involves flags. As i understand it, diku dirvs > use letter flags to represent numbers (like PLR_ flags) and i know > theyre powers of two ths allowing for easy addition of more 'flags' to the > equasion.. I also noticed the max you can use is dd (30 letters) Wrong, the max you can use is 32 (ff), for a 32 bit system. You just have to adjust the defines a li'l bit. You can see how it's done, rather how I did it at http://www.dreamless-realms.org/snips/bits.html > (1073741824) without causing issues. My question is, what > determines the > max number you can use? Is it complier controled, CPU architechture > controled? Just curious on how the thing works more indepth =) > This is controlled by architecture, nothing more. You can have 32 bits on a system, unless you're using bitless vectors (which is a rather large pain to convert to from what I've seen). The benefits really don't make that much difference , or enough for me to do that ;) Just my 0.02
--------- http://www.hosting-talk.com :Hosting Talk Forums - Hosting discussion. http://www.linux-tech.net: Quality, affordable Linux Systems Administration http://www.mudservers.net : Mud hosting from $10 a month

