Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sample program using the new _Files$ function
#18
Maybe this will help -- I give you the ALL-POWERFUL Function Byte2Bit!!

Code: (Select All)
Dim b As _Byte
b = &B11
'but we only want a single bit!
b = Byte2Bit(b)
Print b

Function Byte2Bit~&& (a_byte As _Byte)
Byte2Bit = a_byte And 1~`1
End Function
Reply


Messages In This Thread
RE: Sample program using the new _Files$ function - by SMcNeill - 02-07-2024, 06:31 AM



Users browsing this thread: 5 Guest(s)