There are many ways to DIM your variables. This is a simple one:

[code=thinbasic]


'SIMPLE VARIABLES

uses "oxygen"
o2_basic "
dim as long a = 1 + 2 + 3 + 4 + &h10
dim as string s = "Answer &h" hex a
print s
"
o2_exec


[/code]