Internet Direct (Indy) Version 9.0.1 Beta
ParseNewsGroup
Parses a newsgroup from a list of newsgroups.

procedure ParseNewsGroup(ALine: String; var ANewsGroup: String; var AHi: Cardinal; var ALo: Cardinal; var AStatus: String);
Parameters
ALine: String
String received by the server.

var ANewsGroup: String
Lowest index number for an available article.

var AHi: Cardinal
Highest index number for an available article.

var ALo: Cardinal
Status of a newsgroup.

var AStatus: String
Description
ParseNewsGroup is a procedure that parses a newsgroup list item from server data retrieved using GetNewsgroupList or GetNewGroupsList method with the AList parameter.

AType is set to the newsgroup type which is usually one of these values:

Note: If ALow is greater than AHigh, no articles are available for that newsgroup.