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

Home » Public Forums » archive » baffling syntax 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
baffling syntax error [message #70586] Thu, 22 April 2010 14:03
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
Hi all,

I have a function declaration with both positional and keyword
parameters like this:

FUNCTION WR_subtract, imga, imgb, WARP_DEG=wdeg, SKY_STYLE=skyst, $
SCALE_STYLE=scast

...and in another procedure I call the function like this:

interp_res =
wr_subtract(intrp,civ,warp_deg=3.,sky_style=1,scale_style=1)

However, that function call gives me a syntax error when I try to
compile:

interp_res =
wr_subtract(intrp,civ,warp_deg=3.,sky_style=1,scale_style=1)
^
% Syntax error.

Why the error??

Thanks!
--Gray
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Rounding off
Next Topic: Laplace transform

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

Current Time: Wed Oct 08 16:12:43 PDT 2025

Total time taken to generate the page: 0.00289 seconds