Recent

Author Topic: [SOLVED] OOP and FPC  (Read 24446 times)

Pascaluvr

  • Full Member
  • ***
  • Posts: 216
Re: [SOLVED] OOP and FPC
« Reply #45 on: March 20, 2012, 09:18:39 am »
Hi again CaptBill,

I don't consider myself an expert, altho in all modesty, I do consider myself a very reasonable Pascal programmer - but clearly not in OOP.

One of my reasons for this thread was exactly the reasons you have stated.  I wanted to 'hide' the pointer stuff I use and just make them 'normal' access, so that my programs didn't have a mixture of static and pointer references.

In the time since this thread has been solved, I have had an old man's afternoon nap and just about completed my LinkedList Class.

It includes:
Create
AddItem
GetItem
DeleteItem
Destroy

I will probably add some things like Sort or AddInSequence, but I don't need them yet, so I don't have the urgency.

Once I have fully tested it, I will post it here for anyone thats interested.  Its a great way to have an array where you have no idea of the possible number of entries.

Thanks again to all that helped solve the problems... without this ,,, I would never have got anywhere.
Windows 7, Lazarus 1.0.8, FPC 2.6.2, SQLite 3

Rails

  • Guest
Re: [SOLVED] OOP and FPC
« Reply #46 on: March 20, 2012, 12:48:56 pm »
Once I have fully tested it, I will post it here for anyone thats interested.  Its a great way to have an array where you have no idea of the possible number of entries.

Please do. I could use that in my current project.  8)

 

TinyPortal © 2005-2018