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

Home » Public Forums » archive » Re: Structure as a parameter
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: Structure as a parameter [message #42583] Tue, 15 February 2005 03:59
m_schellens is currently offline  m_schellens
Messages: 31
Registered: February 2005
Member
One way is to pass 'str' instead of the contained structure
and modify your procedure to work with 'str'.
Ie. access std.substructure instead of substructure

Pointers: Works if you have instead of a substructure
a pointer to the substructure. Then you can modify the
pointer contents (*pointer).

Third and maybe easies way:
do a:
tmpVar = str.substructure
yourProcedure,tmpVar
str.substructure = tmpVar

HDH,
marc
[Message index]
 
Read Message
Previous Topic: Structure as a parameter
Next Topic: file selection widget and returning filters

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

Current Time: Fri Oct 10 06:34:24 PDT 2025

Total time taken to generate the page: 0.56057 seconds