These functions are designed to be as close to the PureBasic linked list commands as possible, but give the flexibility of using linked lists anywhere you want. Save this first code fragment as "double_linked_lists.pb" (or anything you want as long as you change the code in the demo snippet later :).
Edit: Code removed, please use the version in the archive.
The original archive with another demo and a readme can be found on my website (http://www.david-mcminn.co.uk). Please let me know if you find any problems or if you make any updates that I can merge back in.
Linked lists inside linked lists
- tinman
- PureBasic Expert
- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
Linked lists inside linked lists
Last edited by tinman on Sat Feb 09, 2008 9:26 pm, edited 1 time in total.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)
tinman,
Woow ... it works fine, and it is nice coded and commented.
Excellent.
Woow ... it works fine, and it is nice coded and commented.
Excellent.
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
I insist ! Few comments but good variable names, both make well commented ...
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: Linked lists inside linked lists
sweet!
- np
- np
nice,
i have write a LL in LL too, but it's on german:
LinkedList in Structure
i don't need Pointerreturns
i have write a LL in LL too, but it's on german:
LinkedList in Structure
i don't need Pointerreturns