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

Home » Public Forums » archive » Re: specifying argument using a variable
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: specifying argument using a variable [message #69536] Fri, 22 January 2010 08:29
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jan 22, 2:04 pm, Bruce Bowler <bbow...@bigelow.org> wrote:
> if interlace = FULL_INTERLACE then
>         result=hdf_vd_read(vdataID,vdata,/FULL_INTERLACE)
> else
>         result=hdf_vd_read(vdataID,vdata,/NO_INTERLACE)
> endif
>
> But that just feels wrong...  There must be a better way.

result=hdf_vd_read(vdataID,vdata,NO_INTERLACE=(interlace ne
'FULL_INTERLACE'))
[Message index]
 
Read Message
Previous Topic: specifying argument using a variable
Next Topic: Re: Calculate sensor response functions

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

Current Time: Fri Oct 10 15:21:01 PDT 2025

Total time taken to generate the page: 3.35801 seconds