News:

Building a 3D Ray Tracer  By stevmjon

Main Menu

load/save array

Started by ShadowCentaur, July 06, 2007, 09:41:37 PM

Previous topic - Next topic

ShadowCentaur

I'm migrating from DB and want to know if there are any commands analogous to Dark Basic's Load Array and Save Array. Some way to store positions and other data in an external file. What are my options? I just want to load and edit stuff without contaminating my main program.
If you ever need me, click your heels three times and press Ctrl + Alt + Del.

Draco9898

Look at WriteFile, loadfile, writeByte, etc. put your cursor on something like writefile, and hit F1, there is an example at the bottom.
DualCore Intel Core 2 processor @ 2.3 ghz, Geforce 8600 GT (latest forceware drivers), 2 gigs of ram, WIN XP home edition sp2, FireFox 2.

"You'll no doubt be horrified to discover that PlayBasic is a Programming Language." -Kevin