From: John Wright on
I have the following code that was converted from C#

Machine.Shift.Left(data(63), 24) Or Machine.Shift.Left(data(62), 16) Or
Machine.Shift.Left(data(61), 8) Or data(60)



Of course this doesn't work so how would this line be converted to VB



John


From: GhostInAK on
Hello John,
That line already looks like VB syntax. You'd have to post the oringinal
C# code to get a meaningful response.

-Boo

> I have the following code that was converted from C#
>
> Machine.Shift.Left(data(63), 24) Or Machine.Shift.Left(data(62), 16)
> Or Machine.Shift.Left(data(61), 8) Or data(60)
>
> Of course this doesn't work so how would this line be converted to VB
>
> John
>


From: Herfried K. Wagner [MVP] on
"John Wright" <riley_wright(a)notmail.com> schrieb:
>I have the following code that was converted from C#
>
> Machine.Shift.Left(data(63), 24) Or Machine.Shift.Left(data(62), 16) Or
> Machine.Shift.Left(data(61), 8) Or data(60)
>
> Of course this doesn't work so how would this line be converted to VB

Just a guess: The converter only supports VB.NET 2002 and thus it does not
emit VB.NET 2003's bit-shifting operators ('>>', '<<').

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>