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

Home » Public Forums » archive » Problem with pointers to structures
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
Problem with pointers to structures [message #38666] Wed, 17 March 2004 13:59
Tianle Yuan is currently offline  Tianle Yuan
Messages: 5
Registered: March 2004
Junior Member
This bothers me for quite a while and I still can't figure out why it

doesn't work.

Pro A
.
.
str = {f1:..,f2:..,...}
str_ptr = ptr_new(str)
.
.
widget_control,...,set_uvalue = str_ptr
.
.
end

Pro A_sub,event
.
widget_control,...,get_uvalue= str_ptr
temp = *str_ptr
temp.f1 = ...

end

When I excute it, it says 'expression must be a structure in this

context:temp'. But according to Gumley's book, this should work fine.

Any comments?

-TL
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Why does color change to b/w when using PNG?
Next Topic: Does MatLab have similar function as COMMON block

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

Current Time: Wed Oct 08 18:41:39 PDT 2025

Total time taken to generate the page: 0.00467 seconds