Internet Direct (Indy)
Home
PreviousUpNext
TIdNNTP.Previous Method

Moves to the previous article in a newsgroup.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.