Problem is as follows: I created Dimension with 100 elements 1-100, now I need to write separate process that will delete all even numbers from the dimension. I have some idea how to do this in the process creating the dimension but with separate process I dont even know where to start. So I would appreciate some pointers. Thanks.
Code: Select all
prefix = 'A_VNO_';
DimName = prefix | 'G_Rada';
LoopCounter = 1;
IF(DimensionExists(DimName)=0);
DimensionCreate(DimName);
ENDIF;
WHILE(LoopCounter <=100);
ElName = NumberToString(LoopCounter);
DimensionElementInsert(DimName, '', ElName, 'N');
LoopCounter = LoopCounter + 1;
END;