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
 Issues changing column names

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
raerts Posted - 03/26/2019 : 07:50:27 AM
Origin Ver. and Service Release (Select Help-->About Origin): 2018
Operating System: Windows 10

I have issues changing the name of my columns using Lab Talk. I import my data as a cvs file which works fine, but if I try and use either of the thee options I found on the online help https://www.originlab.com/doc/LabTalk/guide/Basic-Worksheet-Column-Operationnone work.
-wks.col1.name$ = DataX;
-rY.name$ = DataY;
-col(3)[G]$ = "Result"; (this one gives me a command error)

If I start with a new workbook (newbook) I am able to use the first command.

The command wks.name$ = Data; does not have any problems with my own data file.

Thanks, R
1   L A T E S T    R E P L I E S    (Newest First)
nick_n Posted - 03/26/2019 : 12:11:19 PM
Hi,

Most probably, SpreadSheed notation is ON. To turn it OFF: Alt+ENTER and uncheck "SpreadSheed notation".

Probably, you missed one line from example:
"range rY = 2; // range to column 2"

Or you already have column with short name "DataY".
Best regards,


Nikolay

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