Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


Collection library


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-30-2008, 05:12 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default Collection library

I've had this library lying around waiting for a help file for some time, so I've decided to get it done and out of the way.

The .NET platform implements several useful collection classes of which only ArrayList is included with Basic4PPC. This library adds some others, Stack, Queue, Hashtable and SortedList, that are very useful in some circumstances.

It requires .NET 2.0 and will run on both desktop and device. See the help file for further details.

EDIT : Source code for merging dll posted. Put it in the Basic4pp Desktop\Libraries folder.

EDIT:- Version 1.2 posted with enhanced array and ArrayList functions. Help, demos, library and source for merging are in the zip. See post #6 for details.
Attached Files
File Type: zip Collections1.2.zip (26.5 KB, 56 views)

Last edited by agraham : 09-02-2008 at 06:40 PM.
Reply With Quote
  #2 (permalink)  
Old 01-30-2008, 06:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

Thank you agraham

I'm sure that this library will be very useful for many of us.
Reply With Quote
  #3 (permalink)  
Old 01-30-2008, 06:45 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,321
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

SortedList is very welcome to my current project, thanks Agraham...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #4 (permalink)  
Old 01-31-2008, 10:41 AM
Knows the basics
 
Join Date: Aug 2007
Posts: 53
Default And Hashtable is something i was waiting for

Compliments, great idea to implemement these collections!
__________________
Unclutter your code -- use an obfuscator
Reply With Quote
  #5 (permalink)  
Old 05-28-2008, 02:51 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Source code for merging dll posted in original post.
Reply With Quote
  #6 (permalink)  
Old 09-02-2008, 06:43 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Collections version 1.2 now posted with two additional objects, ArraysEx and ArrayListsEx.

Both ordinary arrays and the more specialised ArrayList are capable of some functions that are not exposed in B4ppc. This library now provides access to additional functionality for both.

The new ArraysEx object in the library allows you, along with some other things, to sort, search and copy normal arrays.

The new ArrayListsEx object in the library, along with some other things, lets you more easily transfer data between arrays and ArrayLists.

This library should work on desktop and device, but requires .NET 2.0
Reply With Quote
  #7 (permalink)  
Old 09-02-2008, 08:23 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

Thanks again
The online documentation is available here: Collections
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact.update verschiebt Collection-List Paulsche German Forum 0 10-01-2008 12:08 AM
Door library (Beta) - Special library Erel Official Updates 48 07-18-2008 03:33 PM
Merging Outlook library and Phone library Erel Official Updates 2 07-14-2008 04:38 PM
Data collection from devices to Desktop using SQLite mozaharul Questions & Help Needed 3 04-03-2008 11:00 AM
3D to 2D functions collection legugusse Share Your Creations 2 07-12-2007 12:11 PM


All times are GMT. The time now is 10:52 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0