IonicWind Software

Announcements => User Offerings => Topic started by: LarryMc on August 06, 2008, 10:19:43 PM

Title: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: LarryMc on August 06, 2008, 10:19:43 PM
 Enhanced Linked-List Class for EB/IWB

Includes full set of examples and Help File

Methods in Class:
     _LList              Class destructor
      AddAfter        Adds node after current node
      AddBefore      Adds node before current node
      AddEnd          Adds node to end.
      AddHead        Adds node to beginning
      ClearAll           Deletes all list nodes
      Count            Number of nodes in list
      Create           Creates an instance of the class
      DelCurrent      Delete current node
      ErrMsg           Description of error code
      GetFirst          Get the first node
      GetLast          Get the last node
      GetNext         Get the next node
      GetPrev         Get the previous node
      LList              Class constructor
      ReadData       Check current node's data
      ReadDataPos  Reads data pointer from a specific node     <- New in version 1.1

Larry
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: pistol350 on August 07, 2008, 02:10:33 AM
Thank you Larry for that generous offering, no doubt i'll make good use of it.

Cheers!
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: LarryMc on October 21, 2008, 09:00:22 PM
New version (1.1)
http://www.ionicwind.com/forums/index.php/topic,2613.msg22185.html#msg22185

Add new method - ReadDataPos

If you save the pointer to a list node you can come back later and address the node directly
in order to retrieve the nodes data pointer from that node.

Feature was requested by pistol350   
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: pistol350 on October 22, 2008, 02:37:42 PM
Great!
I am looking forward to having more time to spend dealing with that new command.
Thank you so much Larry.  8)
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: LarryMc on October 22, 2008, 03:13:26 PM
just let me know if you run into a problem.
remember; that's the only command that doesn't have any error checking.

Larry
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: LarryMc on May 25, 2009, 12:26:13 AM
New Version (1.2)

Fixes a problem where creating a linked list, clearing it, and recreating it followed by a call to the AddAfter method on the empty list would cause a crash of the application.

Added a non-generic title to help file window.

Download at http://www.ionicwind.com/forums/index.php/topic,2613.msg22185.html#msg22185

Larry
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: LarryMc on May 27, 2009, 07:12:45 AM
New Version (1.21)

Fixes a problem where AddBefore method was breaking link and data was being lost..

Download at http://www.ionicwind.com/forums/index.php/topic,2613.msg22185.html#msg22185

Larry
Title: Re: LList Class - Enhanced Linked-List Class for EB/IWB
Post by: LarryMc on July 25, 2009, 05:12:06 PM
Documentation Fixed.

The attached is a revised help file that will allow EBasic's IDE Search Help... option to search file.

Larry