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

Home » Public Forums » archive » Re: A New error msg, for me: % Variable is undefined: <UNDEFINED>
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: A New error msg, for me: % Variable is undefined: <UNDEFINED> [message #48176 is a reply to message #48173] Wed, 29 March 2006 14:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ed Hyer writes:

> Hello brilliant people,
>
> This is "found debugging": either you've had this happen, or you
> haven't.
>
> Here is the exerpt from the command line:
>
> IDL> lc=hs05_g12_glccv20_flambe
> IDL> gf=hs05_g12.fflag_a
> IDL> gs=hs05_g12.fsize_a
> IDL> test=flambe_lc2totalflux(lc,goesflag=gf,goessize=gs)
> % Variable is undefined: <UNDEFINED>.
> % Execution halted at: $MAIN$
>
> Here is the declaration line of the function, which compiles without
> error:
>
> function flambe_lc2totalflux,hslc,goesflag=goesflag,goessize=goessize ,
> $ isgoes=isgoes,ismodis=ismodis
>
> This is something stupid, but without any traceback, I am pretty much
> at sea.

I think it means that a variable is, uh, well, undefined. :-)

I would try this just before the call to the function:

HELP, lc, gf, gs

If the variables are defined there, then I suspect there
is a problem inside the function with a misuse of Keyword_Set,
or something similar.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: some geometry questions.
Next Topic: map_set, !map, !x, !p.position (and behind this curtain, !x.*)

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

Current Time: Thu Oct 09 22:54:59 PDT 2025

Total time taken to generate the page: 0.63675 seconds