Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Ansi -iso > Pointers in Pas...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 211 of 211
Post > Topic >>

Pointers in Pascal!!

by Zaka E-Lab <shanatorio@[EMAIL PROTECTED] > Apr 29, 2008 at 01:08 PM

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.




 1 Posts in Topic:
Pointers in Pascal!!
Zaka E-Lab <shanatorio  2008-04-29 13:08:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 2:02:54 CDT 2008.