RE: lingo-l File IO - how do I erase text in a file? SOLVED...

2001-08-10 Thread pranavn
Gosh! Wouldn't it just be easier to delete the file and then rewriting to it rather than going through all those repeats and stuff? Cordially, Pranav Negandhi New Media Applications. Learnet India Limited, Mumbai. Phone: 91-22-859 8042 Ext: 410 snip I figured out a workaround, clunky as it

RE: lingo-l File IO - how do I erase text in a file? SOLVED...

2001-08-10 Thread Steven Sacks
Gosh! Wouldn't it just be easier to delete the file and then rewriting to it rather than going through all those repeats and stuff? Easier? Maybe, but as much fun? I say thee nay! =) Deleting the file requires recreating the file and then writing to the file again. What's easier? Running

RE: lingo-l File IO - how do I erase text in a file? SOLVED...

2001-08-10 Thread pranavn
If you really have to do this stuff often, and your strings aren't too long (64k, if I remember correctly) you can try the setPref command. Cordially, Pranav Negandhi New Media Applications. Learnet India Limited, Mumbai. Phone: 91-22-859 8042 Ext: 410 snip Deleting the file requires

RE: lingo-l File IO - how do I erase text in a file? SOLVED...

2001-08-09 Thread Steven Sacks
sorta... I figured out a workaround, clunky as it may be. --- set gTheWriteText = removeQuotes(gTheWriteText) if the last item of gTheWriteText = 3110 then nothing else put SPACE after gTheWriteText end if on removeQuotes dataString repeat with a = 1 to the number of