Hi Ralph,
If I understand you correctly - you want to set say col(2) of wks to hold abs values of numbers in col(1) - you can simply do the following:
void test()
{
Worksheet wks = Project.ActiveLayer();
Dataset ds1(wks, 0);
Dataset ds2(wks, 1);
ds2 = fabs(ds1);
}
In your code by the way, perhaps the problem is there is no {} that encloses all needed statements in your for() loop.
Easwar
OriginLab