T O P I C R E V I E W |
guy27 |
Posted - 08/11/2017 : 03:12:15 AM OriginPro2015 (64-bit) Sr2 Windows 7 Enterpise
Hello, How can I access the "Before Formula Scritps"field in the "Set values dialog via labtalk from the script window?
I can access the Formula field in the same dialog via: col(E)[O]$=Col(D)*2; But if I enter the following in a script window col(B)[O]$=Col(A)*%(col(A)[P1]$); it will evaluate the value of the parameter. and thus not recalculate if the parameter is changed afterwards.
I would like to to end up with the following if I open the "Set values"dialog afterwards
Forumula: Col(B)= Col(A)*f
Before formula script double f=%(col(A)[P1]$);
|
2 L A T E S T R E P L I E S (Newest First) |
guy27 |
Posted - 08/13/2017 : 4:56:56 PM Great, this works Thanks |
Chris D |
Posted - 08/11/2017 : 12:43:25 PM Hi,
Instead of using:
double f=%(col(A)[P1]$);
Try this:
double f=value(col(A)[P1]$);
Thanks, Chris Drozdowski Originlab Technical Support
|
|
|