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

Home » Public Forums » archive » At Last! A Subsititute for CW_Field.
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: At Last! A Subsititute for CW_Field. [message #17998 is a reply to message #17881] Mon, 22 November 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ben Tupper (Ben_member@newsguy.com) writes:

> I've often wondered why the Type declaration keyword for CW_FIELD is not defined
> as an alternative to declaring the data type with a keyword similar to
> COYOTE_FIELD DataType keyword. I guess I was thinking that it would nice to be
> able to declare the field type on the fly by passing along the TYPE index
> (returned by the SIZE function) to CW_FIELD (or COYOTE_FIELD) rather than
> specifying "/Float",... Is it possible to have each type of keyword (a string
> "DataType" and and integer "Type")competing to define the field type?

Well, this is exactly the kind of thing (declaring field type
on the fly) that is trivial to do if the program was written
as an object. It is much harder to do written the way it
is currently. I'll leave it up to you to turn it into an
object and send me the result. :-)

Cheers,

David

P.S. Don't forget to include Struan's request for
floating value formatting. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Color Tables for Use with Chromatek Glasses
Next Topic: CW_Field Done as the Full Monty

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

Current Time: Tue Dec 02 18:38:57 PST 2025

Total time taken to generate the page: 1.44324 seconds