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

Home » Public Forums » archive » Re: Procedures and Functions - Checking Input Data for Validity
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: Procedures and Functions - Checking Input Data for Validity [message #70474 is a reply to message #70473] Sat, 17 April 2010 10:48 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Aram Panasenco writes:

> Update: I've decided to ditch string processing altogether, and pass
> in arrays of strings or integers to in_type and ex_type:
>
> e = VALIDATE(data, ex_type=["NaN"])
> e = VALIDATE(data, in_type=["Double","Float"])
> e = VALIDATE(data, ex_type=[10,11,12,13,14,15])
>
> I have started working on the actual function, expect it soon!

Aram, just a little practical advice. Don't get too
excited. Ten seconds after you publish your masterpiece
it will get trashed by someone you didn't even know
*read* the IDL newsgroup. If you can fight through
the disappointment, you MAY be able to improve it
substantially. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how many active IDL users are there?
Next Topic: Re: How to shift the values of x axis from position of x axis to other

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

Current Time: Thu Oct 09 19:49:32 PDT 2025

Total time taken to generate the page: 0.71860 seconds