GetLinkedFiles

Declaration: TMetaData.GetLinkedFiles(FileList: TStringList): integer;
Returns the list of linked files in the parameter FileList and the number of specified linked files as the function result. Please note that the string list passed to the FileList parameter must be created before calling this function.

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.

Sample
program:
The following code snippet retrieves the list of linked files and displays it in the console window of the script editor:
....

var
  FL      : TStringList;
  nfiles  : integer;
  i       : integer;

begin
FL := TStringList.Create;
nfiles := GetLinkedFiles (FL);
if nfiles > 0 then
  begin
  for i:=1 to nfiles do
    couts (FL[i-1]);
  end;
end;
FL.Free;
....