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
 Origin Forum
 Problem defining range variable
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

stuckwithorigin

India
1 Posts

Posted - 03/09/2019 :  03:31:21 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Pro. 2018b
Operating System:Windows 10

I have suddenly got a problem with defining range variables in origin.
This happens when trying to define a range variable for a group of cells in a particular column.

ex: from (https://www.originlab.com/doc/LabTalk/Tutorials/Tutorial-Range-Notation)

range cc = [Book1]sheet1!col(A)[3:10];

Then when I set some column's value as cc, I get the full col(A) instead of cells 3 to 10.

What is really weird is that this used to work until one day ago. Super frustrating. Anyone have a clue?

Thanks

P.S. I restarted origin (as well as my whole computer) but the problem doesn't go away.

yuki_wu

896 Posts

Posted - 03/11/2019 :  01:57:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Use LabTalk command list and del for listing variables and deleting variables, respectively.

Then you could try to run the script you mentioned above.

Regards,
Yuki
OriginLab
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