Topic Path: Symbol Reference > Classes > TIdNNTP Class > TIdNNTP Methods > Previous Method
TIdNNTP.Previous Method

Moves to the previous article in a newsgroup.

function Previous: Boolean;

Boolean - True when the current article pointer is successfully moved.

Previous is a Boolean function used to move the NNTP current article pointer to the previous article in a newsgroup. Previous send the NNTP LAST command to reposition the current article pointer, and examines the numeric server response for the values 223 and 422. 

The return value for the method is True when the numeric server response contains the value 223. 

Use SelectGroup to activate a newsgroup before using the Previous method. 

Use Next to move the current article pointer to the next article in the Newsgroup.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.