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

Home » Public Forums » archive » Undefining a variable a pointer points to
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Undefining a variable a pointer points to [message #39333] Fri, 14 May 2004 14:07 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Hi all,

is there a way to undefine the variable a pointer points to? E.g., if I
initialize a pointer by

p = ptr_new(/allocate_heap)

p is a valid pointer, but *p is undefined. If I now do

*p = 10

is there a way to undefine it again afterwards, i.e. get back to the
status right after the call to ptr_new(/allocate_heap)?

Thanks for your help,
Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: postscript character
Next Topic: Java Bridge Question

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

Current Time: Fri Oct 10 02:26:33 PDT 2025

Total time taken to generate the page: 0.87950 seconds