DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


GetFavorites

Declaration: GetFavorites (Favos: TStringList): integer;
The function GetFavorites retrieves the list of favorites. The function returns the number of entries in the list, or -1 if the parameter Favos is not intialized. In the case of a positive function result the parameter Favos contains the list of favorites.

Example: The following example shows how to get the list of favorites programmatically:

program GetFavos;

var
  sl   : TStringList;
  cnt  : integer;
  i    : integer;

begin
sl := TStringList.Create;
cnt := GetFavorites (sl);
for i:=1 to cnt do
  couts (sl[i-1]);
sl.Free;
end.