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 for Programming
 LabTalk Forum
 Problem deleting hidden worksheets in ver. 7
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tkcroat

USA
17 Posts

Posted - 11/26/2003 :  3:16:15 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have many temporary worksheets that I want to delete. These are worksheets automatically created using the nlsf object method in a labtalk script (named nlsf1, nlsf2, etc.). They do not show up among the available windows (somehow hidden in version 7.0), but they do exist as worksheets (e.g. exist(nlsf1)=2). The only other place they show up are as available datasets in the advanced fitting tool, and of course they increase the overall file size.
If I open files containing these hidden worksheets in version 5, they are again visible as normal windows and can be removed in the normal ways. However, attempting to delete them in version 7 (eg. using "delete nslf1" in the script window) doesn't work. I still get exist(nlsf1)=2 and they won't go away, which is quite annoying since I often create hundreds of them.

cpyang

USA
1407 Posts

Posted - 11/26/2003 :  3:50:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
win -cd nlsf1;

you can loop them all with
for(i=1;i<100;i++)
{
{win -cd nlsf$(i);}
}

I put script above inside {} to allow command error and still continue to execute.

CP


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