|
Post by crazynate on Apr 28, 2011 16:48:31 GMT -5
How do you save/load negative numbers? I keep trying different functions but they all load wrong values
|
|
|
Post by matthew on Apr 29, 2011 4:47:36 GMT -5
Take a look at nehe10.gb in the Basic4GL Programs folder. You'll see that it depends upon a text file called world.txt which contains negative values.
You basically read a number from the file using ReadLine, store it as a String then obtain it's value using the Val command.
|
|