PStruct = ^Struct; Struct = record num : integer; end;
I have a unit to handle that structure ( is a bit more complicated, but is a good example), in this unit I have a procedure that deletes ( disposes ) the pointer. How can I know if a pointer are created or not?, I mean, I don't wont to try to delete something that has not been created yet, but I don't know how to do it, if that is possible.
If you want to post a followup via groups.google.com, ensure you quote enough for the article to make sense. Google is onl an interface to Usenet; it's not Usenet itself. Don't assume your readers can, or ever will, see any previous articles.
> If you want to post a followup via groups.google.com, ensure > you quote enough for the article to make sense. Google is onl > an interface to Usenet; it's not Usenet itself. Don't assume > your readers can, or ever will, see any previous articles.
All right. But I thought I was replying to a post to this group, and I didn't post it via google groups...
Original question: -------------------------- I have a unit to handle that structure ( is a bit more complicated, but is a good example), in this unit I have a procedure that deletes ( disposes ) the pointer. How can I know if a pointer are created or not?, I mean, I don't wont to try to delete something that has not been created yet, but I don't know how to do it, if that is possible. ---------------------------
>> If you want to post a followup via groups.google.com, ensure >> you quote enough for the article to make sense. Google is only >> an interface to Usenet; it's not Usenet itself. Don't assume >> your readers can, or ever will, see any previous articles.
> All right. But I thought I was replying to a post to this group, > and I didn't post it via google groups...
You are connecting to the usenet group "comp.lang.pascal.ansi-iso". There are various ways of doing that, and some hide what they are doing. The best means is to get a newsreader, such as Thunderbird, slrn, etc. You seem to have one already, in Xnews.
> Original question: > -------------------------- > I have a unit to handle that structure ( is a bit more complicated, > but is a good example), in this unit I have a procedure that > deletes ( disposes ) the pointer. How can I know if a pointer are > created or not?, I mean, I don't wont to try to delete something > that has not been created yet, but I don't know how to do it, if > that is possible. > ---------------------------
You can't tell after the fact. You have to remember that you created it.