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 #48173 is a reply to message #48172] Wed, 29 March 2006 16:05 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
David,

Thanks for the reply.

Yeah, the variables are all there. Inside the function, I didn't use
KEYWORD_SET, I just check for N_ELEMENTS, and indeed I had made a
mistake when changing a variable name.

But it shouldn't have produced this "Variable is undefined:
<UNDEFINED>", because _nothing_ should produce this error. If an
undefined variable is invoked, the error returns the name of the
variable. If a $v is defined, then Expr($v) should be defined also,
except in specific cases that have their own errors (e.g. non-existent
structure tags, pointer stuff).

And whatever was the case, why didn't I get any traceback?

When you code by trial and error, as I do, errors that don't include
traceback can exact a cost in pulled hair.

Cheers,

--Edward H.
[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: Fri Oct 10 07:36:20 PDT 2025

Total time taken to generate the page: 1.44192 seconds