puoi fare questo:
dim a as integer=1
dim b as integer=2
dim ab as integer=a+b