The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Temporary datasets

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Dababneh Posted - 03/22/2000 : 12:52:00 PM
I create a lot of temporary datasets to perform statistics and when I use the 'del -a' command to delete all temporary datasets, they are not deleted. Instead, I have to delete each one by one. Can anybody help with this? I am using Origin 5.

------------------

4   L A T E S T    R E P L I E S    (Newest First)
Dababneh Posted - 03/23/2000 : 8:38:00 PM
My temporary datasets are created using the 'create -t' command. For instance:
create tempname -t 1000;
Gary Lane Posted - 03/23/2000 : 3:55:00 PM
Datasets created using the LabTalk command create -t are not temporary datasets. Only datasets whose names begin with an underscore are temporary.

This is a documentation error. Datasets created with the create -t command are not associated with any worksheet and can not be plotted.

Gary Lane Posted - 03/23/2000 : 3:02:00 PM
Hi again,

Yes, I see it now...the devil is always in the details! At this point I can not say if it is a bug or a documentation error but datasets created using the LabTalk command create -t do not get deleted by the delete -a command or when you close the current project file. I will check on this and have it fixed (one way or the other).

It is easy enough to work around this problem by preceding with an underscore character ("_") any dataset name that you want to be designated as "temporary." For example, the following command creates a truly temporary dataset that gets deleted by the del -a command or when you close the current project file.

create _tempdata -t 1000;

Thanks for the report.

-Gary

[This message has been edited by Gary Lane (edited 03-23-2000).]

Gary Lane Posted - 03/22/2000 : 2:18:00 PM
Hi,

In Origin 5.0 running on my computer the LabTalk script

create _tempdata -c 10;
list s;
del -a;
list s;

shows that all temporary datasets do get deleted when the del -a; command gets executed. How are you creating your temporary datasets and what are their names?

Also, the script below should not be needed but works as well.

doc -e S {if(%[%C,1:1]=="_") delete %C;};

I hope this is helpful.

-Gary

[This message has been edited by Gary Lane (edited 03-22-2000).]


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000