In this code:
[CODE]
Graphics 800,600,0
Global blah:Float
blah = 1/2
DrawText (blah,10,10)
Flip
Repeat
Until KeyHit(KEY_ESCAPE)
[/CODE]
By my reasoning 'blah' should be equal to 0.5, so why does the value appear to be 0 ?
I expect i'm missing something REALLY obvious :-\
[CODE]
Graphics 800,600,0
Global blah:Float
blah = 1/2
DrawText (blah,10,10)
Flip
Repeat
Until KeyHit(KEY_ESCAPE)
[/CODE]
By my reasoning 'blah' should be equal to 0.5, so why does the value appear to be 0 ?
I expect i'm missing something REALLY obvious :-\