I posed a question two days ago about an output and a person call 死猪头 gave me a very neat code which works well. He used a function called band() and I don't quite understand this function. I have a few question to ask about this function.
Q1: array bases[5] _temporary_ (1 2 4 8 16);
Is 5 the length of the binary value? If the length of other binary value is 8, can I write this as :array bases[8] _temporary_ (1 2 4 8 16 32 64 128); ??
Q2: band(bases[_n_], binary_value)
Is binary_value the actural number not binary number. For example it should be 31 not 11111.