Google Groups Home
Help | Sign in
Pointers in Pascal!!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Zaka E-Lab  
View profile
 More options Apr 29, 7:08 am
Newsgroups: comp.lang.pascal.ansi-iso
From: Zaka E-Lab <shanato...@gmail.com>
Date: Tue, 29 Apr 2008 13:08:15 +0200
Local: Tues, Apr 29 2008 7:08 am
Subject: Pointers in Pascal!!
I have something like this:

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.

Thanks a lot.

Zaka.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anton  
View profile
 More options Jun 13, 5:33 pm
Newsgroups: comp.lang.pascal.ansi-iso
From: Anton <anton.txt@g[oogle}mail.com>
Date: Fri, 13 Jun 2008 21:33:18 +0000 (UTC)
Local: Fri, Jun 13 2008 5:33 pm
Subject: Re: Pointers in Pascal!!
The Pascal's nil constant is right for that.

Anton


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CBFalconer  
View profile
 More options Jun 13, 6:05 pm
Newsgroups: comp.lang.pascal.ansi-iso
From: CBFalconer <cbfalco...@yahoo.com>
Date: Fri, 13 Jun 2008 18:05:56 -0400
Local: Fri, Jun 13 2008 6:05 pm
Subject: Re: Pointers in Pascal!!

Anton wrote:

> The Pascal's nil constant is right for that.

Right for what?

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.

More details at: <http://cfaj.freeshell.org/google/>

--
 [mail]: Chuck F (cbfalconer at maineline dot net)
 [page]: <http://cbfalconer.home.att.net>
            Try the download section.

** Posted from http://www.teranews.com **


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anton  
View profile
 More options Jun 19, 5:29 pm
Newsgroups: comp.lang.pascal.ansi-iso
From: Anton <anton.txt@g[oogle}mail.com>
Date: Thu, 19 Jun 2008 21:29:04 +0000 (UTC)
Local: Thurs, Jun 19 2008 5:29 pm
Subject: Re: Pointers in Pascal!!
CBFalconer:

> 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.
---------------------------

Anton


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CBFalconer  
View profile
 More options Jun 19, 6:54 pm
Newsgroups: comp.lang.pascal.ansi-iso
From: CBFalconer <cbfalco...@yahoo.com>
Date: Thu, 19 Jun 2008 18:54:50 -0400
Local: Thurs, Jun 19 2008 6:54 pm
Subject: Re: Pointers in Pascal!!

Anton wrote:
> CBFalconer:

>> 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.

--
 [mail]: Chuck F (cbfalconer at maineline dot net)
 [page]: <http://cbfalconer.home.att.net>
            Try the download section.

** Posted from http://www.teranews.com **


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google