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

Home » Public Forums » archive » Map_set - reg
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: Map_set - reg [message #79360 is a reply to message #79280] Fri, 24 February 2012 05:18 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
shambhu writes:

> Hi, am facing some error "% Attempt to call undefined procedure/
> function: 'CGSNAPSHOT'" and trying to solve this...
> Mean time i wan to call compiled files in a main file. Whenever i
> start my IDL machine and if i run my program, without compiling
> circle, the code percent25=circle(0,0,.25*dmax) shows error "% Attempt
> to call undefined procedure/function: 'circle'". So i called that in
> my main file using ".compile circleidle" and it works. But i feel its
> not the proper way to use. Is there any other way to do this...?

The first problem with cgSnapshot is because you either
haven't installed the complete Coyote Library, or you
haven't put the Library on your IDL path correctly. Here
is an article that describes how to do so:

http://www.idlcoyote.com/code_tips/installcoyote.php

The second problem is due to the fact that you named the
file incorrectly, so it can't be found automatically when
it is needed. You can correct that problem by reading this
article:

http://www.idlcoyote.com/tips/namefiles.html

You may be interested in reading about the 10 most common
IDL programming errors, too:

http://www.idlcoyote.com/code_tips/mostcommon.html

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Map_set - reg
Next Topic: Re: GRIB Webinar

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

Current Time: Thu Oct 09 23:24:49 PDT 2025

Total time taken to generate the page: 0.32228 seconds