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

Home » Public Forums » archive » Re: removing objects from a container
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: removing objects from a container [message #49008 is a reply to message #49004] Fri, 09 June 2006 12:07 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
David Fanning wrote:
> Ben Tupper writes:
>
>> David - please look out the window at your roses for a few minutes...
>
> OK, I even gave the dog a good scratch while I was at it. I *do* feel
> better. :-)
>
>> I can't quite figure the REMOVE method out. IDLgrROIgroup inherits from
>> (eventually) IDL_CONTAINER so the REMOVE method is supposed to work. I
>> don't see in the docs that IDLgrROIgroup overrides the method - but
>> something is different.
>>
>>
>> IDL> group = OBJ_NEW('IDLgrROIgroup')
>> IDL> roi = OBJ_NEW('IDLgrROI')
>> IDL> group->Add, roi
>> IDL> group->REMOVE, /ALL
>> % IDLGRROIGROUP::REMOVE: Incorrect number of arguments.
>> % Execution halted at: $MAIN$
>> IDL> group->IDL_CONTAINER::REMOVE,/ALL
>>
>>
>> Is this a bug or just a thorn?
>
> Well, bad news. Here is my IDL session, with *no* error message!
>
> IDL> group = OBJ_NEW('IDLgrROIgroup')
> IDL> roi = OBJ_NEW('IDLgrROI')
> IDL> group->Add, roi
> IDL> group->REMOVE, /ALL
>
> IDL 6.2 on Windows. (I'm not getting a new version of IDL until
> there is a good reason to. :-)
>
> Cheers,
>
> David

I get IDL 6.2 on Mac working and IDL 6.3 on Mac failing with the same
error message.

I don't see anything in the docs about a change.

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: using of hat symbol on textoidl
Next Topic: idl 6.3, cdf_epoch16 keyword to cdf_varcreate

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

Current Time: Fri Oct 10 14:15:13 PDT 2025

Total time taken to generate the page: 0.00683 seconds