I'm creating a simple program that will export the estimated coefficients of a linear regression to a table (which I'll then use w/ the COM add-in later on). The program will loop through each equation of the workfile and save each equations' coefficients to a vector or table. This is the first few lines:

Code: Select all

`%eqlist = @wlookup("*", "equation")`

for !i=1 to @wcount(%eqlist)

%reg = @word(%eqlist, !i)

The next step would be

Code: Select all

`for !j= 1 to ??`

Thanks!