Topic Path: Symbol Reference > Classes > TIdNNTP Class > TIdNNTP Methods > Next Method
ContentsIndexHome
PreviousUpNext
TIdNNTP.Next Method

Selects the next article in a newsgroup.

function Next: Boolean;

Boolean - True when the current article pointer is updated. False on error.

Next is a Boolean function that moves the NNTP current article pointer to the next article in the selected newsgroup. Next sends the NNTP NEXT command, and examines the numeric server response for the values 223 and 421. 

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

Use SelectGroup to activate a newsgroup before calling Next. 

Use Previous to move the current article pointer to the previous article in a newsgroup.

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