====== Ncd ====== ''variable = Ncd bitPosition'' | //variable// | Variable to store results. (No String or Single) | | //bitPosition// | Position of bit (0 to 31) | The Ncd command is used to return a value with the specified bit set to 1. I = Ncd 0 'Result is 00000001 = 1 I = Ncd 1 'Result is 00000010 = 2 I = Ncd 2 'Result is 00000100 = 4 I = Ncd 3 'Result is 00001000 = 8 I = Ncd 4 'Result is 00010000 = 16 I = Ncd 5 'Result is 00100000 = 32 I = Ncd 6 'Result is 01000000 = 64 I = Ncd 7 'Result is 10000000 = 128 {{ :cubloc:ncd:ncd.png?nolink |}} [[cubloc:index#system_library:|Go CUBLOC home]]