use Global Fit in command line

Hi,
I have many data sets to fit using a Global Fit procedure. I am quite new to Igor and particularly in Global Fit.
I managed to do it using the menu but it was for 10 datasets. Now I have way more, I would like to automatically do it.

Would you be so kind as to provide an example for such a problem?
Say my data sets are waves xdata1 and ydata1, xdata2 and ydata2,... xdata100 and ydata100.
I want to fit using a single function FUN.
It contains 8 fit parameters: c0, c1 depends on the dataset, c2 and c3 depend as well on the dataset but are "HOLD" (I impose their value), c4, c5, c6, c7 are all "LINKED".
Also I want to specify Epsilon to its more accurate value (I believe the smaller the better ? Say 1e-14).

Thank you for your help and support,

Tijead
Start by reading the Global Fit help topic on this:

DisplayHelpTopic "Global Fits From Your Own Code"

Setting it up correctly is non-trivial. I'm sure you will have more specific questions after you try this :)

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com