Hi,
I'm new to IDL, and I'm trying to compile a .pro file in Exelis in my Mac OSX. I know that this code runs in other machines, but when I compile it, I get a syntax error message, which I don't know where to start looking to fix:
% Compiled module: FITCIRC_MPFIT_FUNC.
FUNCTARGS={XPP:xpp[sel],YPP:ypp[sel],VLOS:vlos[sel],AON:aon[sel]},$
^
% Syntax error.
The part of the code with this problem is:
for i=0,nn-1 do begin
sel = Rind.(i)
respar = mpfit('fitcirc_mpfit_func',inipar,$
FUNCTARGS={XPP:xpp[sel],YPP:ypp[sel],VLOS:vlos[sel],AON:aon[sel]},$
PARINFO=parinfo,BESTNORM=chi2min,DOF=dof,COVAR=covar_pell,/QUIET)
pell[*,i] = respar
err_vrot[i]=sqrt(covar_pell[npar-1,npar-1]*chi2min/dof)
nell[i] = n_elements(sel)
redchi2ell[i] = chi2min/dof
endfor
The part "={" is highlighted as the error.
My IDL version is 8.2. Could you give me some suggestions as to what this error means?
Thank you so much,
|