[Q] IDL compiling error ? [message #5788] |
Thu, 08 February 1996 00:00 |
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  |
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  |
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 | |
+----------------------------------------------------------- --+---------+
|
|
|