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

Home » Public Forums » archive » CDF question
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: CDF question [message #14930 is a reply to message #5405] Mon, 12 April 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Harald Frey (hfrey@ssl.berkeley.edu) writes:

> I found at least the solution for the first problem. In some way IDL is
> sensitive to upper/lower case
> statements in that case. I have a variable in the cdf-file 'EPOCH'.
>
> IDL> print,!version
> { sparc sunos unix 5.1 Apr 13 1998}
> IDL> id=cdf_open('WIC')
> IDL> result2=cdf_varinq(id,1)
> IDL> print,result2.name
> EPOCH
> IDL> var=result2.name
> IDL> cdf_control,id,variable=var,get_var_info=info
> IDL> help,info,/struc
> ** Structure <83850>, 7 tags, length=28, refs=1:
> EXTENDRECS LONG 0
> MAXALLOCREC LONG 3
> MAXREC LONG 3
> MAXRECS LONG 3
> NINDEXENTRIES LONG 2
> NINDEXRECORDS LONG 1
> PADVALUE INT 0
>
> Everything works in this case. However, if I specify the variable var in
> lower

File names on UNIX systems are *always* case sensitive.
And string comparisons in IDL are *always* case sensitive,
since an uppercase letter has a different ASCII value than
a lowercase letter.

Cheers,

David
--
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
Previous Topic: spline_p help
Next Topic: CW_PDMENU, changing

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

Current Time: Thu Oct 09 23:55:33 PDT 2025

Total time taken to generate the page: 0.24282 seconds