'Don 't try To read or write more than 32 bits at a time With the InputBits and OutputBits functions.
' If you try To write a value With less bits than that value requires, the correct value will Not be written. For example, don't try to write the value 32 into a file using only 4 bits.
' After every call To inputbits and inputbit, you should check For eof on the input file using this code:
'inputbit/inputbits call here
'If EOF(BitFile.FileNum) = True Then 'replace bitfile With the name of the variable
'put code to exit loop or leave function
' here
'End If
'
'This code is copyrighted and has' limited warranties.Please see http://w