Category : Files from Magazines
Archive   : DBMS9103.ZIP
Filename : YELLICK2.MAR

 
Output of file : YELLICK2.MAR contained in archive : DBMS9103.ZIP
Listing 6: ListDir

function ListDir(dir_, level)
/* List the contents of an array containing a directory
structure. This function uses a recursive call to itself.*/

local i
if level = nil
level := 0
endif
for i := 1 to len(dir_)
? space(level *3)
if valtype(dir_[i]) = "A"
?? dir_[i, 1]
ListDir(dir_[i, 2], level +1)
else
?? dir_[i]
endif
next i
return nil


  3 Responses to “Category : Files from Magazines
Archive   : DBMS9103.ZIP
Filename : YELLICK2.MAR

  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/