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

Home » Public Forums » archive » LinkedList not recognized as object by Help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
LinkedList not recognized as object by Help [message #94346] Sat, 15 April 2017 13:50 Go to next message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
I am trying to create an IDL sav file for my application and ran into an interesting exception. Coyote Graphic's LinkedList object is compiled as an object by Resolve_All but is not recognized as an object by the Help procedure. Any reason why this would be?


IDL> Resolve_All, CLASS='linkedlist'
% Compiled module: RESOLVE_ALL.
% Compiled module: LINKEDLIST__DEFINE.
% Resolved class structure: LINKEDLIST
% Identified method files: LINKEDLIST


IDL> Help, OUTPUT=output, /OBJECTS, /BRIEF
IDL> Print, output


IDL> Help, OUTPUT=output, /PROCEDURES, /BRIEF
IDL> Print, output
Compiled Procedures: $MAIN$ LINKEDLIST::ADD LINKEDLIST::ADD_AFTER LINKEDLIST::ADD_BEFORE LINKEDLIST::ADD_TO_END
LINKEDLIST::CLEANUP LINKEDLIST::DELETE LINKEDLIST::DELETE_LAST_NODE LINKEDLIST::DELETE_NODE
LINKEDLIST::DELETE_NODES LINKEDLIST::HELP LINKEDLIST::MOVE_NODE LINKEDLIST::REPLACE_ITEM
LINKEDLIST__DEFINE RESOLVE_ALL


Thanks
Re: LinkedList not recognized as object by Help [message #94348 is a reply to message #94346] Sun, 16 April 2017 07:06 Go to previous messageGo to next message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
On Saturday, April 15, 2017 at 10:50:11 PM UTC+2, Matthew Argall wrote:
> I am trying to create an IDL sav file for my application and ran into an interesting exception. Coyote Graphic's LinkedList object is compiled as an object by Resolve_All but is not recognized as an object by the Help procedure. Any reason why this would be?
>
>
> IDL> Resolve_All, CLASS='linkedlist'
> % Compiled module: RESOLVE_ALL.
> % Compiled module: LINKEDLIST__DEFINE.
> % Resolved class structure: LINKEDLIST
> % Identified method files: LINKEDLIST
>
>
> IDL> Help, OUTPUT=output, /OBJECTS, /BRIEF
> IDL> Print, output
>
>
> IDL> Help, OUTPUT=output, /PROCEDURES, /BRIEF
> IDL> Print, output
> Compiled Procedures: $MAIN$ LINKEDLIST::ADD LINKEDLIST::ADD_AFTER LINKEDLIST::ADD_BEFORE LINKEDLIST::ADD_TO_END
> LINKEDLIST::CLEANUP LINKEDLIST::DELETE LINKEDLIST::DELETE_LAST_NODE LINKEDLIST::DELETE_NODE
> LINKEDLIST::DELETE_NODES LINKEDLIST::HELP LINKEDLIST::MOVE_NODE LINKEDLIST::REPLACE_ITEM
> LINKEDLIST__DEFINE RESOLVE_ALL
>
>
> Thanks

Have you created an instance of the object?
Re: LinkedList not recognized as object by Help [message #94349 is a reply to message #94348] Mon, 17 April 2017 07:29 Go to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
Thanks! Creating an instance of the object first does resolve the issue. However, not all objects require me to create an instance first. E.g.

IDL> .full_reset
IDL> Resolve_All, CLASS='IDL_Container'
% Compiled module: RESOLVE_ALL.
% Resolved class structure: IDL_CONTAINER
% Identified method files: IDL_CONTAINER
IDL> Help, OUTPUT=output, /OBJECTS, /BRIEF
IDL> Print, output
IDL_CONTAINER IDL_OBJECT


This is true for both IDL and non-IDL objects.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Taylor Diagram
Next Topic: Re: transparent background for line plot in IDL 8.0

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

Current Time: Wed Oct 08 09:14:05 PDT 2025

Total time taken to generate the page: 0.00998 seconds