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

Home » Public Forums » archive » idl 5.2 -> 5.3 problem: cw_form
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
idl 5.2 -> 5.3 problem: cw_form [message #21400] Thu, 24 August 2000 00:00 Go to next message
Olivier ARCHER is currently offline  Olivier ARCHER
Messages: 7
Registered: June 1999
Junior Member
Hi all,
I've find that mailto:"Martha B. Kusterer"
<mbkusterer@toadmail.toad.net> has ask for a question about cw_form on
this forum, but i dont find the answer.. so i ask it again:

here what Martha wrote:
> I found that my code using cw_form with BUTTONs and DROPLISTs that worked in IDL 5.2
> on unix, no longer compiles in IDL 5.3. I get the error
> FIX: variable is undefined: VALUE in CW_FORM_BUILD line 352.
> Has anyone figured out how to get around this? I would greatly
> appreciate
> any help!

so i've find a lot of difference between cw_form.pro in idl 5.2 and 5.3
i finally change the code in cw_form.pro (5.3):
line 352: uextra = { VALUE: FIX(value) }
became uextra = { VALUE: 0L }
as in cw_form.pro (5.2)

now it seem to works, but i'm not sure of what i've done. Is there
another workaround ?

--
Olivier
Re: idl 5.2 -> 5.3 problem: cw_form [message #21475 is a reply to message #21400] Fri, 25 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Patrick Broos (patb@astro.psu.edu) writes:

> By the way I agree that cw_form has it's problems, but would not agree to
> blanket advice to avoid using it altogether.

Well, not unless aesthetics were important to you, anyway. :-)

Cheers,

David

P.S. Let's just say the folks giving blanket advice are
more known for making funny jokes on the newsgroup than
they are for writing production code. They seem to have
more time and a different agenda than the folks trying
to get a job done. But I agree with Patrick. :-)

--
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 5.3 serious problem: save files sneakily restored
Next Topic: IDL 5.2 array definition question.

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

Current Time: Fri Oct 10 09:57:48 PDT 2025

Total time taken to generate the page: 0.72229 seconds