Floating point numbers in data statements
BlitzMax Forums/BlitzMax Beginners Area/Floating point numbers in data statements| 
 | ||
| Hi i often use data statements at the end of my program to hold data like sprite location etc. just now i wanted to store floating point values in this manner but it says DefData staements can't be used with floating point values. how can i get round this? thank you :) | 
| 
 | ||
| Use strings and cast them to floats? | 
| 
 | ||
| ok thats a good idea thank you Oddball :) | 
| 
 | ||
| that worked great thank you, it said in the documentation that the data statements are old-style BASIC ones. i was wondering how would i store this kind of data now?. do you have to use files for everything? |