Data associated with with a dataset is called metadata. You may like to read up on accessing metadata in the Help files.
Meanwhile, accessing the value of a header cell is similar to reading any cell in a dataset. For example, to assign the value in (Column 2, Row 3) to a variable, execute the following command:
double myvariable = col(2)[3];
To access a header value, use the header-row code (Look up "Column Label Row Characters" in Help Files) instead of row number within the square brackets. Note that headers are strings so don't forget to convert the value to a numeric. For example:
double par1 = %(col(2)[p1]$); // Get value from first parameter row.
DrBob
|