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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Temporary datasets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Dababneh

Germany
5 Posts

Posted - 03/22/2000 :  12:52:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

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

Gary Lane

USA
150 Posts

Posted - 03/22/2000 :  2:18:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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).]

Go to Top of Page

Gary Lane

USA
150 Posts

Posted - 03/23/2000 :  3:02:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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).]

Go to Top of Page

Gary Lane

USA
150 Posts

Posted - 03/23/2000 :  3:55:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

Go to Top of Page

Dababneh

Germany
5 Posts

Posted - 03/23/2000 :  8:38:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
My temporary datasets are created using the 'create -t' command. For instance:
create tempname -t 1000;
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000