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
 originPro 8.0 the "Range"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

EigenGoofy

64 Posts

Posted - 05/18/2011 :  4:49:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
let's look at the column A

row1: 20
row2: 8
row3: 12
row4: 17
row5: 6
row6: 33

In the Origin 8.5, if typing as follow:

range tt = [book1]sheet1!A[3];
tt=;

It will return:
TT=12

A friend has OriginPro 8.0, if typing the samething in Pro, it will return:
TT=20

I also tried several differnet numbers, e.g.

range tt = [book1]sheet1!A[4:end];
tt=;

It still returns:
TT=20

It seems that it always returns the first value on the column, despite of the assigned row number (e.g. [3]). I don't know what is wrong here?

Thank you very much!

couturier

France
291 Posts

Posted - 05/19/2011 :  09:24:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try the following:

range tt = [book1]sheet1!A;
tt[3]=;
Go to Top of Page

EigenGoofy

64 Posts

Posted - 05/19/2011 :  5:18:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
YES, the problem is solved.

Thanks very much, couturier!
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