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:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
[quote][i]Originally posted by EigenGoofy[/i] [br]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! [/quote]
Check here to include your profile signature.
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
Snitz Forums 2000