Version: 2023
Type: Bug Fixes
Category: Programming
Subcategory: LabTalk
Jira: ORG-25234
Set column value with formula like B(C, data(1,100,5)) will be failed in Origin 2022.
B(C, data(1,100,5))
Fixed in Origin 2023.
LabTalk
dataset dsA, dsB; dsA.SetSize(200);dsB.SetSize(200); dataset ds1 = data(1, 200, 1); dsA += ds1; dsA[100]=; dsA[101]=; //returns missing, but should be 101 range rr = [??]!ds1[1:50]; dsB = 0; dsB += rr; dsB[100]=; //returns 100, but should be 0
OC
void testDatasetCreate() { Dataset ds; ds.Create(200); out_double( "ds[99]=", ds[99]); //correctly output 0 out_double( "ds[100]=", ds[100]); //output missing, should be 0 }
Fixed in Origin 2023