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

Home » Public Forums » archive » Re: WHERE and pointers
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: WHERE and pointers [message #33549 is a reply to message #33531] Wed, 08 January 2003 22:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sheryn Gillin (sheryn.gillin@cmr.uq.edu.au) writes:

> Hoping someone may be able to help. I know the beauty of the WHERE
> function, and the importance of pointers, however, I can't get the two
> to work together. For example...I use the ->GetValue('0000'x,
> '0000'x) to read a value from the DICOM header, and the result returns
> is a PtrHeap, but when I try to loop through this array using WHERE I
> get an error. Any hints?

Presumably the return value is a pointer to an array of
values. The syntax would then be something like this:

indices = Where( *ptr GT 5) ; or whatever

Is this what you are doing?

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@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
Previous Topic: Re: Figuring out which functions and procedures get called
Next Topic: problem using strsplit

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

Current Time: Fri Oct 10 03:39:14 PDT 2025

Total time taken to generate the page: 0.23999 seconds