Math Isnt Working

BlitzMax Forums/BlitzMax Programming/Math Isnt Working

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi, my BM math isnt working quite right.... is there a fix for this?

For num = 0 To 10
	Local calc = (2^num)
	Print calc
Next


The output, unfortunately, is thus:

1
2
4
7
15
32
63
127
255
511
1024


Not exactly the greatest standard....

Thnx
KrayzBlu