I mean :<br>如何直接存取某一 byte 中的某 bit ?<br><br>Thanks very much for your answer !<br>
VB 本身並無 bit 運算指令,你必須自己使用 And 來檢偵,例如要查第 7 個 bit 是否為 1: If Value And 64 Then ...
我有包裝好檢查 bit 部分的函數, 請參閱培基語言網頁 數學工具篇 http://feitsui.hyd.ncku.edu.tw/TLCheng/Basic/index.htm