Hi Rudolf,
There isn't a bitwise shift in VB.Net 2002. I think you can write your own
function to achieve this. Right shift 1 bit means divided by 2, while left
shift 1 bit means multiple by 2.
Hope this helps.
If anything is unclear, please feel free to reply to the post.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
--------------------
| Content-Class: urn:content-classes:message
| From: "Rudolf" <
[email protected]>
| Sender: "Rudolf" <
[email protected]>
| Subject: Bitwise shift in VB.Net 2002
| Date: Thu, 25 Sep 2003 00:18:34 -0700
| Lines: 7
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcODNTsnTE6O9BfXT1m1j0pcFAj32Q==
| Newsgroups: microsoft.public.dotnet.languages.vb
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:141046
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| How do you do a bit shift in VB.Net 2002?
|
| In VB.Net 2003n you can use the << or >> operators.
|
| Thanks
|
| Rudolf
|