Page 1 of 1

PBLIst linked list library extended to inc arrays

Posted: Mon Apr 11, 2005 12:21 am
by srod
***see post below for updated library***

Hi,

just finished a small linked list library which I needed for an application I am writing. Thought I would share it as some might find it useful.

The lists can be nested and used within structures and structures nested withing nested lists of structures of ... (aghhhh!)

Zip includes source code, compiled library file, .chm help file and 2 example programs.

Download: www.purecoder.net\Purebasic\PBList.zip

Re: PBlist linked lists

Posted: Mon Apr 11, 2005 1:36 am
by NoahPhense
Very kewl.. you can never have too many linklist stuff.

- np

Posted: Mon Apr 11, 2005 1:38 pm
by ebs
srod,

Thanks for the linked list library!

Your download URL has some backslashes ("\") in it, so it won't work in most browsers other than Internet Explorer. You should use only forward slashes ("/"), like this:

http://www.purecoder.net/purebasic/pblist.zip

Regards,
Eric

Posted: Mon Apr 11, 2005 2:21 pm
by gnozal
ebs wrote:Your download URL has some backslashes ("") in it, so it won't work in most browsers other than Internet Explorer.[/url]
Works very well with Opera here.

Posted: Mon Apr 11, 2005 9:25 pm
by localmotion34
impressive. i think that is a great way to handle the creation of complex gadgets. ive forever been working on docking windows and automated dockpanes. i think this may allow me to do it fairly easy. thanks!!!

Arrays and Linked lists

Posted: Tue Apr 12, 2005 12:33 am
by srod
Hi,

Have extended the linked list library so that it now offers single dimension arrays of long type variables which can be dynamically redimensioned without having the original elements deleted and without having to copy all elements to a new array etc.

Although the implementation of these arrays uses a small PBList linked list, a PBArray offers much faster access to individual elements than any kind of linked list.

Zip file includes all source code (massively commented), a compiled library file, a .chm help file and several examples.

Please let me know if you find any bugs.

Download: www.purecoder.net/purebasic/Arrays&lists.zip

Posted: Tue Apr 12, 2005 12:46 am
by MrMat
Looks impressive! Like ebs says, the links don't work as they are (in FireFox).