Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top