I've just created the version 2 of the Vector Lib I've already distribute some years ago. But the last version was not easy to use. So this second version is now simple, can store every type of data and compiled with Tailbite (so you don't need any IncludeFile).
What is this User Lib ?
A Vector is a Linked List which can contains basics data (Byte, Long, Float, Quad...), Strings and structures (complex or simples).
A lot of functions are already available to allow you to compute something quickly.
This linked list are slower than PB's one, but you can easily copy a Vector to another, combine them in one command.
How to use Structure Vectors ?
According to me, there are two types of structures :
* complex : contains strings or pointers
* simple : where *a.struct <= *b.struct can be done with only one CopyMemory()
For the complex structures you need to define a Constructor and a Destructor (and a comparison procedure if you want to use Vector sort or search procedures). That's all you need to do. All the other procedures are already implemented.
Download
You can download the Lib Vector there : here.
Notes
The Help file is available and in English. But as it is not my home language it may have severals grammatical errors.
For the moment the Lib is not compatible with Linux or Mac (Files procedures won't work) because of the Resident. So if someone can compile the Resident on these OS and send me the Res file this Lib will work on every OS.
[EDIT]
To install it you just need to copy/paste files in your PB directory.
Sources and examples are contained in the zip file.
Thanks
Lio
