|
-
Jan 18th, 2000, 07:38 AM
#4
this will give you the binary string equivalent of every asc number (0-255) using the And function
(both have to be the same to give a 1
example:
10010101
00101001 and
=01000011 )
For k = 0 To 255
Temp = ""
For j = 7 To 0 Step -1
If k And (2 ^ j) Then
Temp = Temp & "1"
Else
Temp = Temp & "0"
End If
Next j
RL88(k) = Temp
Next k
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|