Scott James wrote: > PreviousElement = InvalidElement; > For A in OriginalList > If A != InvalidElement You meant "If A != PreviousElement". > Store/Print A; > PreviousElement = A; > End For