working with files
David McFarlane
mcfarla9 at msu.edu
Mon Feb 23 19:57:38 UTC 2009
Greg,
>I am wishing to use a text file for some temporary storage of some
>experiment data to use in various other experiments. I see hope to
>open a new file and I think I have it down how to write to
>it. However I would like to delete the file when I am done with
>it. Does anyone know how I can go about doing that?
Hmm, I imagine you want to delete the file directly from your E-Prime
program, rather than waiting and then just deleting it manually with
Windows Explorer later. If that is that case, then you want to look
at the "Kill" topic in the online E-Basic Help.
BTW, that was a nice little puzzle -- I actually had to run a full
search in the online E-Basic Help using the term "delete" in order to
find the Kill topic, that was not the obvious answer (although in
retrospect, that keyword is often enough used in systems as a command
to delete files).
Of course, if it really is a temporary file then you might just use
the same file name each time, leave the file in place, and just
overwrite it for each new session. That would spare you the extra
work of deleting the file each time. Just a thought.
-- David McFarlane, Professional Faultfinder
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
More information about the Eprime
mailing list