Internet Direct (Indy)
Home
PreviousUpNext
TIdNNTP.Next Method

Selects the next article in a newsgroup.

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

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.