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 for Programming
 LabTalk Forum
 Problem deleting hidden worksheets in ver. 7

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
tkcroat Posted - 11/26/2003 : 3:16:15 PM
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.
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 11/26/2003 : 3:50:56 PM
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



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