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
 count workbooks
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

razva

Germany
Posts

Posted - 08/27/2010 :  11:22:41 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):8.1
Operating System:XP

is there some command similar with

page.nLayers


to give the total number of workbooks in one project or in a specific folder?

which counts the workbooks in a project or inside one folder?
i want to make a loop over some of the workbooks and i need to know how many of them there are.

Penn

China
644 Posts

Posted - 08/30/2010 :  10:11:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

The document command provides an option -cw for counting all workbooks in the current project. For example,

doc -cw;  // count all workbooks in the current project
count=;  // the result is assigned to count variable


Penn
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