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
 Issues changing column names
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

raerts

1 Posts

Posted - 03/26/2019 :  07:50:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

nick_n

Finland
125 Posts

Posted - 03/26/2019 :  12:11:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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