Procedures

I just started creating new fit functions. Made a couple that worked well, so I thought I had the hang of it. Today I'm trying to make a new fit function and after I choose "Analysis", a popup windows comes up that says "Procedures need to be compiled. You won't be able to use user defined fit functions."

After I said ok to that window, I tried to enter the curve fit dialogue make a new fit function but it won't work as it says "There was a compile error, but not in your fitting function. You will have to leave the curve fit dialogue and fix it..."

Can anyone help resolve this? I'm not sure how to "fix" it.

thanks!
poorgradstudent wrote:
I just started creating new fit functions. Made a couple that worked well, so I thought I had the hang of it. Today I'm trying to make a new fit function and after I choose "Analysis", a popup windows comes up that says "Procedures need to be compiled. You won't be able to use user defined fit functions."

After I said ok to that window, I tried to enter the curve fit dialogue make a new fit function but it won't work as it says "There was a compile error, but not in your fitting function. You will have to leave the curve fit dialogue and fix it..."

Can anyone help resolve this? I'm not sure how to "fix" it.

thanks!


There is some Igor code somewhere that isn't compiling correctly. Get out of the Curve Fit dialog, and select Compile from the Macros menu. You should get a dialog with an error message where you can click a button to edit the code at fault. If it's your code, fix it. If it isn't, fix it if you can. If it's our code let us know at support@wavemetrics.com.

There's another possibility- simply that, for some reason procedures are in an uncompiled state, and autocompile is off. In that case select Compile from the Macros menu and that should fix it. You might want to turn on Auto Compile.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com