Category : Pascal Source Code
Archive   : TOTDEMO.ZIP
Filename : DEMDR2.PAS

 
Output of file : DEMDR2.PAS contained in archive : TOTDEMO.ZIP
program DemoDirectoryTwo;
{demdr2 - determining chosen files}

Uses DOS, CRT,
totFAST, totLIST;

Var
ListWin: ListDirObj;
Tot,L:longint;

begin
Screen.Clear(white,'°'); {paint the screen}
with ListWin do
begin
Init;
ReadFiles('*.*',AnyFile);
Go;
Win^.Remove;
if (LastKey = 27) or (Lastkey = 600) then
writeln('You escaped!')
else
begin
writeln('The highlighted file was '+GetHiString);
writeln('The tagged files were: ');
Tot := FileList^.TotalNodes;
for L := 1 to Tot do
if GetStatus(L,0) then
writeln(GetString(L,0,0));
end;
Done;
end;
end.




  3 Responses to “Category : Pascal Source Code
Archive   : TOTDEMO.ZIP
Filename : DEMDR2.PAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/