:ListArticles()


Class

     aprNNTP()

 

Syntax

     :ListArticles( [nBeg], [nEnd], [hSession], [nReturnType] ) -> acArticleList

 

Parameters

 

nBeg

First newsgroup article to be returned.

If parameter is not passed, the first available article will be used.

 

nEnd

Last newsgroup article to be returned.

If parameter is not passed, the last available article will be used.

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

nReturnType

Optional: Specifies the return type. Default is String.

RETURN_STRING = Return results in String format.

RETURN_ARRAY = Return results in an Array.

 

Return

List of avalable article within the range specified by nBeg and nEnd.

 

Description

The :ListArticles() method returns a list of articles in the currently selected newsgroup, within the specified article range.

It is possible that there will be gaps in the articles within the range of the first and last articles in the newsgroup.

This may be due to a message being canceled or expired.

 

See Also

:GetArticleByNumber(), :GetArticleByMessageId(), :GetArticleRange(), :GetNextArticle(), :GetPreviouseArticle(), :ListGroups(), :ListNewGroups(), :GetArticleRange()