用於傳回數值的1位元狀態。
格式 BTst (數值, 位元編號)
參數
傳回值 以1或0傳回位元測試的值。
參照 BClr函數, BClr64函數, BSet函數, BSet64函數, BTst64函數
BTst函數範例
Long flags flags = BSet(flags, 1) If BTst(flags, 1) = 1 Then Print "Bit 1 is set" EndIf
← BSet64函數 BTst64函數 →