User Tools

Site Tools




variable = Dcd source

variable Variable to store results. (No String or Single)
source source value

Dcd is the opposite of Ncd. It returns the bit position (counting from one) of the most significant bit that is a 1.

I = Dcd 15 ' Result is 4 since 15 = 0b00001111

Go CUBLOC home

cubloc/dcd/index.txt · Last modified: 2016/04/14 11:07 (external edit)