Hello, I recently got a new machine which had OSX 10.13 (High Sierra) preinstalled, and my university installed IDL 8.5.1. I proceeded to try to run some code which has worked fine on other machines running IDL 8.3 and 8.6. I get this error: Keyword parameters not allowed in call. (it points to the following line, though as I show below, I don't think anything is wrong with this syntax): if finite(lnp[i]) then lnp[i]+=call_function(lfunc,x[*,i],_EXTRA=_extra) I have traced it to a few different points, but this error occurs even when trying to read in a simple textfile using astrolib's "readcol.pro": IDL> readcol,'t.txt',x,y,/silent % Keyword parameters not allowed in call. % Execution halted at: $MAIN$ I've searched a bunch and a lot of people have had this problem over the years, but the suggested fixes are not working for me. Does anyone have any ideas? Is this somehow linked to the new Mac OS? Thanks!
|