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);
|
|
|