Code: Select all
_Resolution_.w = 2000
dummyFloat.f = 1234.5678
Dim Table.f(_Resolution_ - 1)
For n = 0 To (_Resolution_ - 1) ; populate table.
Table(n) = dummyFloat.f / ( (_Resolution_.w >> 1) * n )
Next
At that point I get the error:
Code: Select all
"Can't use any of the following operands with floats: <<, >>, &, |, !, %"
Shouldn't PureBasic evaluate everything within brackets first, BEFORE casting the result to float?
If this issue really is an error, please let me know so that I can re-file under bugs.