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

Home » Public Forums » archive » Function compiles (maybe) but cannot be called
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: Function compiles (maybe) but cannot be called [message #83296 is a reply to message #83148] Mon, 11 February 2013 10:53 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den måndagen den 11:e februari 2013 kl. 19:47:28 UTC+1 skrev Paul Mallas:
> Hello,
>
>
>
> I have a single program that gives me a bit of a headache when I run it. It seems to compile (at least IDL says it does) but when it is called immediately afterwards, the call fails:
>
>
>
> % Compiled module: IMGOPEN.
>
> % Attempt to call undefined procedure/function: 'IMGOPEN'.
>
>
>
> I have the function file name properly and it is in the path, but it appears not to actually compile. The workaround is simply to open the file and compile it manually - everything works then.
>
>
>
> Any clues? Maybe it is a workbench setting and not really and IDL issue?
>
>
>
> Thanks

According to http://www.astro.washington.edu/docs/idl/cgi-bin/getpro/libr ary09.html?IMGOPEN, imgopen is not a function, it is a subroutine that you are supposed to call like this:

; CALLING SEQUENCE:
; imgopen, filename, nx, ny
; INPUTS:
; filename = name of image file. in
; nx = number of pixels per image line. in
; ny = number of image lines. in
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: function in form of a matrix
Next Topic: XYOUTS in 3D

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

Current Time: Fri Oct 10 07:31:57 PDT 2025

Total time taken to generate the page: 1.11973 seconds