[thelist] Looping Psuedocode

Scott James evolt at coldcustard.org
Thu Aug 28 09:45:01 CDT 2003


On Thu, Aug 28, 2003 at 08:10:38AM -0500, Rob Smith wrote:
> Hi,
> 
> I've struggled with this for quite some time now and still haven't found the
> best approach to this. Basically I want to see some Psuedocode that solves:
> 
>  from ::   to ::
>   Item A    Item A
>   Item A    Item B
>   Item A    Item C
>   Item B
>   Item B
>   Item B
>   Item B
>   Item C
>   Item C

PreviousElement = InvalidElement;
For A in OriginalList
  If A != InvalidElement
    Store/Print A;
  PreviousElement = A;
End For
> 
> Thanks
> 
> Rob.Smith
> 
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 

-- 
S

-- 

No one can understand the truth until he drinks of coffee's frothy goodness


More information about the thelist mailing list