GLBasic forum

Main forum => GLBasic - en => Topic started by: fuzzy70 on 2012-Feb-25

Title: MEM2SPRITE() question
Post by: fuzzy70 on 2012-Feb-25
I might have a use for this command coming up shortly but have a query regarding the help file stating the following

Warning: READ/DATA might probably not read that large negative numbers.

Is that platform specific, a warning from older version of GLB thats not been removed from the help file or something else?

It may happen that I do not need to store the info in data statements but It would be handy to know if there is indeed a limit as to what can be stored in data statements so I can keep it in mind for future.

Lee
Title: Re: MEM2SPRITE() question
Post by: Kitty Hello on 2012-Mar-15
DATA numbers on mobile platforms are stored as DGInt, which is 32 bit float, so they can't cover that large integers accurately. Use a file?
Title: Re: MEM2SPRITE() question
Post by: fuzzy70 on 2012-Mar-15
Quote from: Kitty Hello on 2012-Mar-15
DATA numbers on mobile platforms are stored as DGInt, which is 32 bit float, so they can't cover that large integers accurately. Use a file?

That makes sense, I do not create mobile apps as yet but at least I know now for the future to keep that in mind.

Lee