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
 Origin Forum
 strange behaviour of worksheet command

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
petr.hanys Posted - 02/24/2005 : 01:59:50 AM
Origin Version (Select Help-->About Origin): 7.5 SR4
Operating System: win 98

Hi,
I tried to add new columns to the worksheet (work -a 2;) command and set one of them as x col. (work -t $(colcnt) 4;). But, if there had been already some x col. in that worksheet, it didn't work and the code ended at the point.

Thanks much for your help.
2   L A T E S T    R E P L I E S    (Newest First)
petr.hanys Posted - 02/24/2005 : 10:34:33 AM
Colcnt is OK the problem occures only if there is another x column in the worksheet. But when i omit following
create.wksName$ = %B;
create.delete(temp);
from the code, there's no problem.

Thanks anyway
Mike Buess Posted - 02/24/2005 : 08:27:07 AM
Works fine for me. Perhaps colcnt is undefined. BTW, there is no need for the $() substitution...

work -a 2;
colcnt=wks.ncols-1;
work -t colcnt 4;

Mike Buess
Origin WebRing Member

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