comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Porting OS X IDL 7.0 to Linux IDL 8.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Porting OS X IDL 7.0 to Linux IDL 8.0 [message #77441] Tue, 30 August 2011 07:14
polystethylene is currently offline  polystethylene
Messages: 28
Registered: February 2009
Junior Member
Hello,

Run into a snag trying to run some code I wrote in IDL 7.0 on OS X.
Have copied it across to our linux system, which is now running IDL
8.0.

The code previously compiled with no errors, but now the following
lines are providing syntax errors:



image = READFITS(string(i+1,FORMAT='("exp",i03,".fits")'),header,/
SILENT)
^
% Syntax error.
At: /padata/pparc/pirate/IDLWorkspace/LCgen/doirafphot.pro, Line 239

image = READFITS(string(i+1,FORMAT='("'+string(calibprefix)
+'exp",i03,".fits")'),header,/SILENT)

^
% Syntax error.
At: /padata/pparc/pirate/IDLWorkspace/LCgen/doirafphot.pro, Line 276

masterfits = READFITS('master.fits',masterhdr,/SILENT)
^
% Syntax error.
At: /padata/pparc/pirate/IDLWorkspace/LCgen/doirafphot.pro, Line 339

forlintransplit = STRSPLIT(forlintranbody[i],/EXTRACT)
^
% Syntax error.

For some reason copying it into this window has moved the arrow to a
different part of each line. In my console, the arrow points to the
keywords in each case...

I've checked the 8.0 help files for STRSPLIT - and the keyword is the
same; the syntax for calling looks to be exactly the same, so what
problem does IDL have with my code here?

Regards,

Stef
[Message index]
 
Read Message
Previous Topic: Re: my god, it's full of stars....
Next Topic: Ghost Widgets!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:56:03 PDT 2025

Total time taken to generate the page: 0.00206 seconds