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 #33642 is a reply to message #33526] Sun, 12 January 2003 16:23 Go to previous message
sheryn.gillin is currently offline  sheryn.gillin
Messages: 6
Registered: January 2003
Junior Member
> % Expression must be a scalar in this context: PATIENTNAME

That's exacty the error message I get when trying to use WHERE. :(

> In this case, the pointer only points to one thing, so there
> is not much point in a WHERE function. In your case, the
> pointer might point to several things, so a WHERE function
> might be appropriate. Or, you might have to dereference all
> your points into a large array, and *then* use the WHERE
> function. But, in any case, *something* ought to be possible. :-)

Guess my FOR loop isn't looking so bad after all. :) Think I'll just
stick to that method, for this instance.

> How did that ComputeMesh suggestion pan out for your stack
> of ROIs?

Absolutely fantastic. Thank you. Sent the 'displays' off to my
supervisors this morning, and I hope they are as pleased/happy as me.
:)

> I put up a tip just the other day on my web page, by the way.
> The proper way to delete all these pointers when you are done
> with them (and you may not know at all how many you have!), is
> like this:
>
> Heap_Free, dicomdir

Definitely cleaner than my multiple lines, destroying each object
seperately. I'll update my code tonight.

Thanks & Cheers
Sheryn
[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: Thu Oct 09 21:47:53 PDT 2025

Total time taken to generate the page: 1.28122 seconds