have the .dat file, (or txt, or owt really) with the varible saved in it
lets call it varible.dat
open to read "varible.dat", 1
varible$=read string 1
integer=val(varible$)
close file 1
i havnt got dbp on this computer so that may be slightly wrong withe the open to read, and read string, but click help, commands, file commands, and they will al be there
also u could use write byte to file command insted of typing ur number, this way u wont have to convert from string to integer
hope that helps
Your signature has been erased by a mod