AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
bigjoe11a | Steve Winn | Easy for you to say. |
February 7, 2006 10:51 PM |
|||
Re: Thanks But > Re: Thanks But > > How do I write it to a file, and add new info so that it saves all to one > > file. I get the idea. But I'm still a little lost, I'm writing a oneliners > > script. I made one up and I hated it, Just want to make a better one. > Without writing it myself, here's what you do: > 1. Clear the buffer and open the oneliner's data file for reading (Input). > 2. Read the first line from it so it will be left out of the new file. > 3. Start a loop. > 4. Read a line from the data file. > 5. Write that line to the buffer (buffer append). Loop. > 6. When you hit the end of the file, exit the loop (!EOF!). > 7. Close the data file. > 8. Write to the buffer the oneliner the user just wrote. > 9. Now using the shell command, copy the buffer to where the oneliner data fi > is (copy b1.tmp oneliner.dat). Well, I'm lost. I have to thing of some else I guess. -- [AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org] |
||||||
|
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
Execution Time: 0.016 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |