[fpc-pascal] re-newing a pointer

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Apr 28 13:27:35 CEST 2010

On 28 Apr 2010, at 13:11, spir ☣ wrote:

> It seems that once a pointer has been assigned nil, it needs to be  
> (re)allocated using new() before using it to (re)set its target:

You might want to read some tutorials on pointers before continuing  
you experiments. See e.g.:
* http://lazarus-ccr.sourceforge.net/pascal/pas5f.html
* http://packetstormsecurity.nl/programming-tutorials/Pascal/pascal-tutorial/chap12.htm 
  (the source files mentioned in the text are at http://packetstormsecurity.nl/programming-tutorials/Pascal/pascal-tutorial/ 
* http://geociti.es/SiliconValley/park/3230/pas/pasles02.html
* http://delphi.about.com/od/objectpascalide/a/pointers.htm


More information about the fpc-pascal mailing list