T O P I C R E V I E W |
Nilsdalby |
Posted - 01/26/2018 : 03:01:46 AM Origin Ver. and Service Release (Select Help-->About Origin): Operating System:Origin 2017 SR2 on a win 10 platform
Hi
Im seeing a problem with many of my scripts after i have added some columns and renumerating all to A1, A2... etc. I click off the excel cell notation. An example is this script which put many columns (19) content in a long column:
loop(i,1,19){ int b=count(col($(i+2))); Col(A2)[i+2]=b; sum(col(A2)); c=sum.total; Copydata irng:=[Book1]CollectAll!col($(i+2))[1:$(b)] orng:=[Book1]CollectAll!col(A1)[$(c-b+1):$(c)] clear:=0; };
If i add cols or rename/renumerate to A1, A2..., this script stops working but gets functional again after turning origin off and back on. Some insight into what is happening here appreciated, Thanks |
1 L A T E S T R E P L I E S (Newest First) |
yuki_wu |
Posted - 01/26/2018 : 04:54:54 AM Hi,
Did you see any error message if the script failed? Also, could you please check if you declared the variable b or c outside this script?
Regards, Yuki OriginLab
|
|
|