-
BTst
|
Result = BTst ( Number , Bit ) |
NumberのBitthビットが設定されていればTRUEを返します。 最下位ビットのビット数は0です。
Numberのタイプは、Byte、Short、Integer、またはLongのいずれかです。
Bitの有効範囲は、Number引数の型によって異なります。
Errors
|
Message |
Description |
|---|---|
| Type mismatch (6) | Number引数のデータ型が無効です。 |
| Bad argument (20) | Bit引数が範囲外です。 |
Examples
Print 15, Bin(15, 16)
Print BTst(15, 1)
15 0000000000001111
True
Print 13, Bin(13, 16)
Print BTst(13, 1)
13 0000000000001101
False
See also

コメント
最新を表示する
NG表示方式
NGID一覧