home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,422 of 2,978   
   Markus.Humm to Lidiaa   
   Re: Reading Text File, Text Scrolling an   
   22 Mar 07 22:25:14   
   
   From: markus.humm@freenet.de   
      
   Lidiaa schrieb:   
   > Hi ,   
   >   
   > How can I  Reading Text File,  then Text Scrolling   by means of   
   > keys "page UP" "page Down" and erase a specific line from a text   
   > file , when press "F2" key?   
   >   
   >      Best Regards,   
   >                             Lidia from Poland   
   > --   
   > =========================================   
   > Pozdrawiam Lidiaa   
      
   Hello,   
      
   I can give you at least one hint: you can't delete a single line from a   
   textfile, you've to copy the contents of the file you want over to a new   
   temporary one and rename that or you have to read out the entire   
   textfile into memory (e.g. a linked list where each line of the textfile   
   is one string) and overwrite the existing textfile (rewrite procedure)   
   with only those parts from your memory storage you want to keep.   
      
   Greetings   
      
   Markus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca