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
 loop wo -c long name

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@i Posted - 03/15/2001 : 08:19:00 AM
A simple script to create a worksheet with a simple loop to add columns is behaving strangly with Origin Pro 6.1 SP 2.

win -n data try;
wks.colWidth=12;
loop (i,1,8) {wo -c columnnum$(i);};

The expected is a worksheet with 8 columns named columnnum1.....upto columnnum8....But what I get is a worksheet with the first column named columnnum then counting starts from columnnum1 to columnnum7.
The problem is clearly related to long column names. This simple loop was working properly with Origin Pro 6.
Any idea...!
1   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 03/15/2001 : 2:51:22 PM
This is indeed a bug with 6.1 SR 2, and as you say, is clearly related to the length of the column name.

Looks like for now you will need to use something like the following:

loop(ii,1,8)
{
worksheet -c colnum$(ii);
}

Laurie

OriginLab Technical Support

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