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

Home » Public Forums » archive » "Variable is undefined: conversion destination variable."
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
"Variable is undefined: conversion destination variable." [message #54549] Tue, 26 June 2007 17:42 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Hi IDL folks,

Exciting! A First-Time IDL Error!

This is a variant, of sorts, on the problem IDL has with "functions
that return UNDEFINED" (http://groups.google.com/group/comp.lang.idl-
pvwave/browse_thread/thread/954c06bc4c1714/3682f2ba899b68d2?
lnk=gst&q=undefined+return&rnum=1&hl=en#3682f2ba 899b68d2)

Like that older problem, this one halts execution with no indication
of where the error occurred:

% Variable is undefined: Conversion destination variable.
% Execution halted at: $MAIN$

This time, I'm running an IDL script with '.run' (forget what the IDLy
term is for that), which calls a bunch of subroutines to do its
business. For those who don't use it regularly, this run-mode does
give line numbers where errors occurred, since the file is "compiled"
before running. Except in this case, it doesn't.

I said it in the previous thread and I'll say it again here: this
should *never* happen. The existence of an exception that causes IDL
to halt execution and not say where it stopped indicates a bug.

Without any indication of where the error occurs, I'll probably just
fiddle until it goes away and not be any wiser. I'll repost if I
actually uncover the root cause, or if I whittle my script down to a
small case that illustrates this problem.

Happy hacking,

Edward H.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Fill value problem in MODIS Processing...
Next Topic: One Millionth Visitor

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

Current Time: Sat Oct 11 16:19:25 PDT 2025

Total time taken to generate the page: 2.24548 seconds