Math Isnt Working

BlitzMax Forums/BlitzMax Programming/Math Isnt Working

Strange. Only seems to happen if it's a variable instead of a constant. Perhaps someone else has an idea why :

num=3
calc = (2^num)
Print calc
calc = (2^3)
Print calc