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

Home » Public Forums » archive » Re: Attempt to call undefined procedure/function: 'WRITE_IMAGE'"
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
Re: Attempt to call undefined procedure/function: 'WRITE_IMAGE'" [message #33062] Mon, 25 November 2002 07:07
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Cinthia (cinthia.loial@infoterra-global.com) writes:

> My program uses "WRITE_IMAGE" that I have included in my SAV file
> but when I run it with idlrt, it reports:
> "Attempt to call undefined procedure/function: 'WRITE_IMAGE'"
>
> SAVE, FILENAME = '<filename.sav>',$
> /ROUTINES,$
> /verbose,$
> 'WRITE_IMAGE', .....
>
>
> How should I declare the WRITE_IMAGE in the SAVE procedure?

You don't have to "declare" it. You just have to have
it compiled at the time you save all your other
compiled routines. Have you forgotten to do a RESOLVE_ALL
before you save the file?

Detailed steps for creating a SAVE file are here:

http://www.dfanning.com/tips/idl_icon.html

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Attempt to call undefined procedure/function: 'WRITE_IMAGE'"
Next Topic: IDL/MSWin pixmap limitations, Part 2

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

Current Time: Fri Oct 10 06:53:05 PDT 2025

Total time taken to generate the page: 0.32189 seconds