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

Home » Public Forums » archive » Attempt to store into an expression: Structure reference
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
Attempt to store into an expression: Structure reference [message #63286] Tue, 04 November 2008 08:21
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
I'm doing something wrong here, but what - I'm not sure...

IDL> help,s.tab
<Expression> POINTER = <PtrHeapVar26>

IDL> help,*(s.tab)
<PtrHeapVar26> STRUCT = -> TAB Array[2]

IDL> help,(*(s.tab))[0]
<Expression> STRUCT = -> TAB Array[1]

IDL> help,((*(s.tab))[0]).img
<Expression> POINTER = <NullPointer>

IDL> ((*(s.tab))[0]).img=ptr_new(image)
% Attempt to store into an expression: Structure reference.

Any ideas why I can't assign something to this pointer?

Greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Lions and tiger and objects, oh my!
Next Topic: Re: Lions and tigers and objects, oh my!

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

Current Time: Wed Oct 08 11:32:04 PDT 2025

Total time taken to generate the page: 0.00741 seconds