T O P I C R E V I E W |
Tryphon |
Posted - 01/29/2021 : 09:49:04 AM Hello,
As stated there : https://www.originlab.com/doc/Origin-Help/Wks-SetColVal-MenuOpt-Dialog
the predefined variable This should be available for usage in the "Before Formula Script" box. However, in the Variables/Predefined Variables menu (Set Value window), "This" variable is not listed anymore. But I can see it for the main box where to write the column formulae.
Anyway, if I try to use "This" variable, it does not work properly. You may try:
col(This)[L]$="BlaBla";
in the "Before Formula Script" box.
As a result, a new empty column is created with "BlaBla" long name.
How to correct this?
Thank you!
Origin Ver. and Service Release: 2020b (64-bit) 9.7.5.184 Operating System: Windows 10 |
3 L A T E S T R E P L I E S (Newest First) |
Tryphon |
Posted - 01/29/2021 : 10:56:53 AM I used This variable in the past under Origin 2015. My memory failed to remember how I precisely did it. Sure, the doc is clear.
wcol(j) works, thank you for your help! |
YimingChen |
Posted - 01/29/2021 : 10:23:37 AM Please use the syntax below:
wcol(j)[L]$="BlaBla";
James |
一击爆裂陈子豪 |
Posted - 01/29/2021 : 10:18:57 AM Well... the doc also clearly stated that "This" variable "cannot be used in the Before Formula Script edit box". |
|
|