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
 mat.profile.hxcol

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
tinkusch Posted - 04/17/2013 : 08:15:05 AM
Origin Ver. 9.0 and Service Release SR1
Operating System: XP

statements like:
mat.profile.hxcol = Data1_a;
for an existing worksheet Data1 with column A
results in the error message:
"assignment type mismatch, check declared type of
LHS and result from RHS"

However, the assignment works!
What's wrong?

Thanks for every hint?

Stefan
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 04/18/2013 : 4:36:25 PM
Since the default value for mat.profile.hxcol is 1, possibly you only think it has worked.
Try this:
// BEGIN SCRIPT
mat.profile.hxcol =;
mat.profile.hxcol = data1_B;
mat.profile.hxcol =;
// END SCRIPT
Note that you will have to execute the third line separately since attempting to run all three will produce Command Error on line 2.
You will see that the value has not been changed.

Use this:
mat.profile.hxcol = colnum(data1_a);

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