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
 originPro 8.0 the "Range"

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
EigenGoofy Posted - 05/18/2011 : 4:49:22 PM
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!
2   L A T E S T    R E P L I E S    (Newest First)
EigenGoofy Posted - 05/19/2011 : 5:18:17 PM
YES, the problem is solved.

Thanks very much, couturier!
couturier Posted - 05/19/2011 : 09:24:30 AM
Try the following:

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

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