bit array (BSTR)
-
What's the question? BitArray stores as many boolean values as you want, well, up to 2,147,483,647 of them anyway. First you declare a BitArray object with the number of bits you want to store, say, 100 of them:
Dim myBitArray As New BitArray(100)
Then you use the Item Property to get/set individual values:For Index = 0 to 99 myBitArray.Item(Index) = True Next Index
RageInTheMachine9532 -
What's the question? BitArray stores as many boolean values as you want, well, up to 2,147,483,647 of them anyway. First you declare a BitArray object with the number of bits you want to store, say, 100 of them:
Dim myBitArray As New BitArray(100)
Then you use the Item Property to get/set individual values:For Index = 0 to 99 myBitArray.Item(Index) = True Next Index
RageInTheMachine9532 -
OK, thanks for your answer. specificaly my question is : How construct the "Binary Blob" from this string "1234567-8". thanks.
What are you doing with the blob? Are you doing something with a database? RageInTheMachine9532
-
Pombo wrote: bit array (BSTR) A
BSTR
is different than a bit array. ABSTR
is a string data type that stored the length of the string is stored with the data. -Nick Parker