-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Is the entire file read in to the stack, and then rewritten? If so, just figure out the line number you wish to delete and try this:
delete line lineNumber of fileContents
So in other words:
put URL "file:/Users/Me/datafile.txt" into fileContents delete line lineNumber of fileContents put fileContents into URL "file:/Users/Me/datafile.txt"
On Dec 6, 2004, at 11:57 PM, D.Rothe wrote:
Hi, I am playing with a small program for storing friends contact info. I am using a data.txt file delimited by "|" for saving info to.
The problem I have hit is HOW TO DELETE THE SELECTED CONTACT from the txt file properly?
I am trying to delete the selected info from the txt file via another stack. I can delete the selected line no probs but thats it.
The best way to understand is to see an example. I have attached the stack(s) and data.txt file for you to see.
Any help would be much appreciated, Thanx in advance...
Best Regards D.Rothe
<data.txt>_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
- ----------------------------------------------------------- Frank D. Engel, Jr. <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBychz7aqtWrR9cZoRAoqgAJ4qZE8323vePf9UGcj7LUy5MMMPOQCdGwBF dBiFN0nK6cnfAii+5pVnEa4= =Knqu -----END PGP SIGNATURE-----
___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
