QUOTE:
the symbol is always the first symbol in the dataset,
That's right, because you programmed it exactly this way:
CODE:
Please log in to see this code.
Since
n is a constant (0), you'll get the value for the DataSetSymbol #0 i.e. the very first symbol.
You may want to take a look at the QuickRef entry for
DataSetSymbols.