|
Post by Nicky Peter Hollyoake on Jul 13, 2008 21:43:24 GMT -5
Can you make them integers not floats?
|
|
|
Post by Nicky Peter Hollyoake on Jul 16, 2008 14:41:29 GMT -5
I don't like having to do "RND() % INT(SpriteAreaWidth())", are there a reason why there a float? - Nicky
|
|
|
Post by Supermonkey on Jul 16, 2008 18:28:52 GMT -5
I'm assuming they are floats because SetSprArea accepts floats as parameters? How useful that is I don't know. Actually doesn't basic4gl coerce floats to integers automatically? Can't you do: RND() % SpriteAreaWidth()
|
|
|
Post by James :) (aka Madcow) on Jul 17, 2008 1:53:44 GMT -5
no it returns data operator can not be applied to data type
|
|
|
Post by Supermonkey on Jul 17, 2008 3:51:53 GMT -5
Ahh touché...
|
|