actually... a C book would be your best help here... or just goto a book store and look up bit-shift, or bit arithmatic, or something like that... You REALLY need to understand this concept throughly to play with the circle code.... but to answer the question, <num> >> <amt> moves all the bits in <num> <amt> bits to the right, effectivly getting rid of them, another way to look at it is you are dividing <num> by 2 <amt> number of times. but to get a book... This is very basic C coding, and one of the core topics +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST