log2 setsym,value
log2 lg,0 define lg as -1 log2 lg,64*1024 define lg as 16 log2 lg,30 define lg as 4
LOG2 is used to compute the log base 2 of a value. Normally, this would be used to compute the shift value that corresponds to a given bit flag.
Copyright © 2000, Thinkage Ltd.