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

Home » Public Forums » archive » [Q] IDL compiling error ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
[Q] IDL compiling error ? [message #5788] Thu, 08 February 1996 00:00
Irawan Sumarto is currently offline  Irawan Sumarto
Messages: 9
Registered: February 1996
Junior Member
Hi, there.

Could anybody help me with the following problem in compiling IDL.pro.
I know IDL just a few weeks, and then try to use & compile ready made
free software. But I can't solve it.

Thank
Irawan.
----------------------

IDL> .run correl_o.pro
corrmat = correl_images( image_A, image_B, XOFF=xoff,YOFF=yoff,$
^
% Syntax error.
At: correl_o.pro, Line 72
corrmat = correl_images( image_A, image_B, XOFF=xoff, YOFF=yoff,$
^
% Syntax error.
At: correl_o.pro, Line 85
corrmat = correl_images( image_A, image_B, XOFF=xoff,YOFF=yoff,$
^
% Syntax error.
At: correl_o.pro, Line 96
---------------------------------------------
Re: [Q] IDL compiling error ? [message #5792 is a reply to message #5788] Thu, 08 February 1996 00:00 Go to previous message
chris is currently offline  chris
Messages: 22
Registered: October 1994
Junior Member
: IDL> .run correl_o.pro
: corrmat = correl_images( image_A, image_B, XOFF=xoff,YOFF=yoff,$
: ^
: % Syntax error.
: At: correl_o.pro, Line 72
: corrmat = correl_images( image_A, image_B, XOFF=xoff, YOFF=yoff,$
: ^

Since you continued the line with $, the error is probably in the
continuation of this line.

-chris
Re: [Q] IDL compiling error ? [message #5794 is a reply to message #5788] Thu, 08 February 1996 00:00 Go to previous message
James Tappin is currently offline  James Tappin
Messages: 54
Registered: December 1995
Member
Irawan Sumarto <irawan@macros.cage.curtin.edu.au> wrote:
> Hi, there.
>
> Could anybody help me with the following problem in compiling IDL.pro.
> I know IDL just a few weeks, and then try to use & compile ready made
> free software. But I can't solve it.
>
> Thank
> Irawan.
> ----------------------
>
> IDL> .run correl_o.pro
> corrmat = correl_images( image_A, image_B, XOFF=xoff,YOFF=yoff,$
> ^
> % Syntax error.
> At: correl_o.pro, Line 72
> corrmat = correl_images( image_A, image_B, XOFF=xoff, YOFF=yoff,$
> ^
> % Syntax error.
> At: correl_o.pro, Line 85
> corrmat = correl_images( image_A, image_B, XOFF=xoff,YOFF=yoff,$
> ^
> % Syntax error.
> At: correl_o.pro, Line 96
> ---------------------------------------------

Most likely the correl_images function isn't in the search path (wrongly
named?) or if it's part of the same source file it comes after the place where
it's used. In these cases correl_images gets treated as an array and keywords
aren't allowed in arrays!

--
+------------------------+---------------------------------- --+---------+
| James Tappin, | School of Physics & Space Research | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+----------------------------------------------------------- --+---------+
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: [Q] compiling error
Next Topic: [Q] IDL compiling error ?

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

Current Time: Fri Oct 10 10:52:41 PDT 2025

Total time taken to generate the page: 1.03918 seconds