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
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
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
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