T O P I C R E V I E W |
peter311 |
Posted - 07/28/2009 : 08:45:29 AM Hi there, I've got a problem with the right adressing of multiple cols.
I can use the command in the command window col(d) = -ln(col(c)) and everything works fine.
But if I use [bk$]$(1)!col(d)=-ln([bk$]$(1)!col(c)) I'll get an error: Math can not be used with text columns (my free translation from German). Do you have a clue, what I'm doing wrong? I've used the e.g. [bk$]$(ii)!cell(rownr,4) for other stuff and everything was right. bk is here bk$=%H.
Thanks in advance! Peter
Origin Ver. and Service Release: 8G SR4 Operating System: Windows XP SP3 |
1 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 07/28/2009 : 4:00:02 PM Range notation is used exclusively to define range variables. It cannot be used as a general notation for data access on either side of an expression.
string bk$ = %H; range rc = [bk$]1!col(c); range rd = [bk$]1!col(d); rd = -ln(rc);
Note that $(1) is redundant. You only need the 1. |
|
|