Re: Attempt to call undefined procedure/function: 'WRITE_IMAGE'" [message #33062] |
Mon, 25 November 2002 07:07 |
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
|
|
|