@HKJ,
I am attempting to write some Math functions usable to create multiple trend lines for data series in the table.
I am missing some information to enable me to do this (if it is possible at all!) What I don't see:
* Is there a known sequence to the calls to the Math expression when the table is processed by TC?
They are called in top down sequence, but it is not documented or guaranteed.
You are not supposed to use output from one math line as input to another math line.
* Is there a way to know which row is currently being processed for the current call to the Math expression?
No, the math expressions are used for other stuff, they are not exclusive for the table.
A lot of the popups and "current values" start their own calculations that are independent from the table.
* Is there a way to access the time (Time, Minutes, whatever) in the current Math expression?
You can access the system time, there is also a time variable when logging, but that will not help other places that uses the math.
Try
=getVarList(0)
from the command line.
You can also use the command in a program, if you put it into a printLog(getVarList(0)) statement.
Note: The argument to getVarList(0) is 0 for global, 1 for local, 2 for parent.