Re: Inputting Something without ''
- Posted by mountains at MINDSPRING.COM May 23, 1998
- 539 views
At 10:47 PM 5/23/98 -0400, you wrote: Oops! I mis-read the question. Sorry. The method below will write a single byte to a disk file, 0 to 255, which should be enough to select any CD track! include get.e sequence s atom fn atom i puts(1,"Track:") s = gets(0) s = value(s) -- convert to an integer value i = s[2] -- discard the GET_SUCCESS... fn = open("TEST.NNN","w") puts(fn,i) -- write the byte to disk close(fn) fn = open("TEST.NNN","r") i = getc(fn) -- read one character from the disk as an integer printf(1,"I is %d",i) close(fn) Hope this helps, Irv