Page 282 - Learn to Program - Basic-256
P. 282

Chapter 18: Files – Storing Information For Later.                              Page 266






               enter a blank line to close file
               >this is some
               >data, I am typing
               >into the program.
               >
               1 this is some
               2 data, I am typing
               3 into the program.
        Sample Output 113: Clear File and Write Lines





                           reset or
                           reset() or
                           reset filenumber
                           reset(filenumber)

                           Clear any data in an open file and move the file pointer to the
                           beginning.


                           If filenumber is not specified then file number zero (0) will be
                           used.


























                                                       © 2019 James M. Reneau (CC BY-NC-SA 3.0 US)
   277   278   279   280   281   282   283   284   285   286   287