this program doesn't work
#constant a 10
#constant b 5
#constant c a+b
print c
wait key
it prints zero instead of 15. when i remove the first 2 constants and make them just regular variables, it does work. i think it has something to do with the way constants work. the compiler just removes every constant with the thing whats saved in his memory. so if you have
#constant a "Hi"
print a
the compiler just compiles this
#constant a "Hi"
print "Hi"
and because of that, dark basic pro wil always think that the things behind the constant name are variables. so if you look at this
#constant c a+b
dbp will just see them as variable a and b and not constant a and b. thats why c = 0. but thats just my thought, i could be horribly wrong
*ding ding*