hi im trying to write a variable to a file but its not writing the
variable correctly.when i look at the file its wrong,it has like a symbol or something,what am i doing wrong??
heres my code..
set dir "c:\goodies"
do
`get user input
if spacekey() and me=0
wait 500
input "number?",objscale
me=1
endif
`make a file & write user input into it :)
if me=1
open to write 1,"myfile.txt"
`this right here is the problem,it wont write the
`variable into the txt file correctly!
write word 1,objscale
`--------------------------
close file 1
me=22
endif
if me=22
make object cube 1,objscale
load image "textures\wood.jpg",1
texture object 1,1
position camera 0,55,-60
point camera 0,3,0
me=23
endif
if me=23 then yrotate object 1,object angle y(1)+0.3
loop