data

BlitzPlus Forums/BlitzPlus Programming/data

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

CS_TBL is absolutely correct, in that large, complex maps are best stored in binary files on disk.

Data statements are good for learning how to implement those binary files. Using data statements to change a small detail just change one of the values; instant gratification. Using binary files you'll need to use a small routine or better yet a map editor to update the map file.

Binary files are best used when you already know what you're doing, data statements can be useful while learning but you'll soon outgrow them.