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

Home » Public Forums » archive » Re: cw_field: checking entries
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: cw_field: checking entries [message #38603 is a reply to message #38568] Fri, 12 March 2004 02:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ralf Schaa writes:

> you know the feeling of wanna kick your computer...?
> (hmm ,it's not the computer fault, is it?)
>
> so i like to check the validity of the entries in a cw_field,
> when it is not defined , send a message, when it is defined go on.
> actually simple as that, but the thing is, it seems to me the value is
> always defined, no matter if there is someting in the field or not.
> i am sure some of you have fixed this problem 100 years ago, so what
> do you suggest?

I remember this being a LOT harder than it looks. :-)

You can see how I did it in FSC_FIELD. The example
code at the end of the file (do a .compile of the
file to see it) gives an example of how to test for
an undefined value, etc.

http://www.dfanning.com/programs/fsc_field.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Interpreter stack not aligned properly during user return.
Next Topic: Are the field lines the trajectory of a particle with mass M?

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

Current Time: Sat Oct 11 05:50:47 PDT 2025

Total time taken to generate the page: 0.48241 seconds