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
 Setting column parameters

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
JonasKlim Posted - 10/13/2017 : 10:34:09 AM
Hi,
I try to set column parameters, but get Command Error:
newbook name:="Duomenys T290K" sheet:=3;
newsheet name:=Bandinys1 cols:=5;
Up to this point script works, but then:
[Duomenys T290K]Bandinys1!col(1).digitmode=1;
[Duomenys T290K]Bandinys1!col(1).digits=4;
Returns an error.
What is whong in the script?
Jonas
2   L A T E S T    R E P L I E S    (Newest First)
JonasKlim Posted - 10/14/2017 : 06:03:45 AM
Hi,Hideo Fujii,

You have helped. Thank you.

Jonas
quote:
Originally posted by Hideo Fujii

Hi Jonas,

The following should work:
range c1=[Duomenys T290K]Bandinys1!col(1);
c1.digitmode=1;
c1.digits=4;
Generally speaking, the range notation, in this case [Duomenys T290K]Bandinys1!col(1), is not an object,
just a notation to give the specification of the range. Range IS an object. So, first you make the range object,
then specify its property like digitmode.

Hope this makes sense.

--Hideo Fujii
OriginLab

Hideo Fujii Posted - 10/13/2017 : 11:55:26 AM
Hi Jonas,

The following should work:
range c1=[Duomenys T290K]Bandinys1!col(1);
c1.digitmode=1;
c1.digits=4;
Generally speaking, the range notation, in this case [Duomenys T290K]Bandinys1!col(1), is not an object,
just a notation to give the specification of the range. Range IS an object. So, first you make the range object,
then specify its property like digitmode.

Hope this makes sense.

--Hideo Fujii
OriginLab

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