How to concatenate two integer variables in VB.net

Status
Not open for further replies.

fuuton

Advanced Member level 4
Joined
Jul 21, 2010
Messages
104
Helped
9
Reputation
18
Reaction score
2
Trophy points
1,298
Location
Pakistan, Rawalpindi
Activity points
1,881
Hi,

I need to concatenate two variables in VB.net

The variables have binary value (one byte each) and I need to store the result in a new variable.

Is there a command that allows this.

Thanks in advance.
 

Some other Basics may have a keyword that does this.

Otherwise you can create the new variable, then use:

Newvariable = lowbyte + 256 * highbyte
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…