30-06-2009, 12:12 PM
Beres Wrote:Joost Wrote:Dim A As Byte, B As ByteNow wont that just display "A+B" in the messagebox? It wont calculate it because its in strings.
A=1
B=1
Msgbox("A+B")
Thats the proper way.Code:MsgBox(A + B)
Beres is correct. Joost would just show "A+B" and not actually perform any math.