TIP: Click on subject to list as thread! ANSI
echo: pascal_lessons
to: Tony Master
from: Jasen Betts
date: 2004-01-14 19:02:56
subject: Re: only posting is rules

Hi Tony.

13-Jan-04 00:25:42, Tony Master wrote to Scott Adams


 TM> |03Quoting message from |11Scott Adams |03to |11Tony Master
 SA>> What level of knowledge do you know about them now? I ask so not
 SA>> to go WAY basic on you :)

 TM> i know they point to a spot in memory

The trick is getting them to point to a convenient spot.

there's a number of ways to do that


 NIL is a special pointer constant that is used wehn you want a pointer to
     point nowhere

 {at} can be used to point one at an existing variable

 new can be used to create an anonymous variable and point a pointer at it

 dispose is the opposite of new and deestroys an anonymous variable if you
         have a pointer to it



Where it gets interesting is when you make a record that contains a
pointer to a record of the same type.... then you can create a chain of
records, of any length and add or remove records at either end or in the
middle of the chain, this is called a linked list.

if you add more pointers to the record you can have a branching chain etc...

 -=> Bye <=-

---
* Origin: Don't pay your exorcist & get repossessed! (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.