Reading a file in reverse order..

Results 1 to 2 of 2

Thread: Reading a file in reverse order..

  1. #1
    Willie Guest

    Default Reading a file in reverse order..

    How would I read a txt file from top to bottom?

  2. #2
    Join Date
    Dec 1969

    Default You can't do it...

    You can&#039;t do it on *ANY* computer system that I know of.<BR><BR>At least not a TEXT file. (Let&#039;s not go into files that consist of fixed length records and are randomly accessed...that&#039;s a special case and isn&#039;t available to VBS users anyway.)<BR><BR>The best you could do would be to read the entire file into an array of lines and then process the array elements backwards.<BR><BR>Period. End of statements.<BR><BR>Now... *Why* would you want to do this?<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts