BS and RM lists
Posted: Sun Feb 10, 2008 12:11 pm
This code is not really an announcement nor a tricks/tips so I am putting it here.
The zip file contains two linked list codes. Both are quick put-togethers to ensure I could handle things before I tackled something a bit more complex.
The one list is called BS - I leave you to decide what it stands for. It is a linked list at it's absolute simplest and can have management code and additional functionality built on top.
The second is called RM for Rail management and is the precursor to a bigger project (which will also use a slightly enhanced version of BS).
Like the midi files at http://www.purebasic.fr/english/viewtop ... e0d13a510f these are:
(a) Developed with 4.2 (but these should work with 4.1)
(b) Windows - but these may be cross platform
(c) In the public domain, so you can do what you like with them.
(d) Require that you remove an easily found (if you read the initial comments) "End" statement or they won't run.
By removing the "End" you modified the code and this takes the onus of responsibility off of me.
Zip file: http://www.gemcutters.net/pbOddments/RM.zip
Hope it is useful to someone, and hope for some suggestions on the RM.
The zip file contains two linked list codes. Both are quick put-togethers to ensure I could handle things before I tackled something a bit more complex.
The one list is called BS - I leave you to decide what it stands for. It is a linked list at it's absolute simplest and can have management code and additional functionality built on top.
The second is called RM for Rail management and is the precursor to a bigger project (which will also use a slightly enhanced version of BS).
Like the midi files at http://www.purebasic.fr/english/viewtop ... e0d13a510f these are:
(a) Developed with 4.2 (but these should work with 4.1)
(b) Windows - but these may be cross platform
(c) In the public domain, so you can do what you like with them.
(d) Require that you remove an easily found (if you read the initial comments) "End" statement or they won't run.
By removing the "End" you modified the code and this takes the onus of responsibility off of me.
Zip file: http://www.gemcutters.net/pbOddments/RM.zip
Hope it is useful to someone, and hope for some suggestions on the RM.