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

Home » Public Forums » archive » mpfitevalexpr not compiled
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: mpfitevalexpr not compiled [message #86088 is a reply to message #86087] Wed, 02 October 2013 04:49 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den onsdagen den 2:e oktober 2013 kl. 13:36:47 UTC+2 skrev Heinz Stege:
>
> Do you use the compile option "strictarr" (or "IDL2") in your program
> (which calls mpevalexpr and then throws the error message)? If not,
> IDL don't know that mpevalexpr is a function, if it compiles your
> program before mpfitexpr. If this is true and you don't want to use
> strictarr, you can try to explicitly declare mpevalexpr as a function.
> Add the statement
> forward_function mpevalexpr
> in the header of your program to explicitly declare mpevalexpr as a
> function.

Ah, yes that works. Thanks!

(No, I don't use strictarr. And I'm still confused about why IDL can figure it out the second time when it could not do it the first time. But now I know how to work around it.)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Coyote Store Up and Running
Next Topic: Converting a string to variable name

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

Current Time: Wed Oct 08 18:32:08 PDT 2025

Total time taken to generate the page: 0.00183 seconds