![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can someone indicate the equivalent for VB6 on the following statements? Dim t As Long = ((r Xor X) >> 2) '=??? Long in VB.NET is a 64-bit integer, which doesn't exist. So all the following is based on the VB6 32-bit Long type instead. Dim t As Long t = (r Xor X) \ 4 t >>= 1 '=??? t = t \ 2 x = x Or (1L << j) '=??? x = x Or 2 ^ j Mattias |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |