2 Title : The Ring Package Manager
4 Author: Mahmoud Fayed <msfclipper@yahoo.com>
9 func ListAllFiles cPath,cExt
10 if left(cExt,2) = "*."
14 return ListAllFiles_process(cPath,aList,cExt)
16 func ListAllFiles_Process cPath,aList,cExt
19 if aSub[2] # Directory
20 cNewPath = cPath + "/" + aSub[1]
21 aSubOutput = listAllFiles(cNewPath,cExt)
22 for item in aSubOutput
27 if right(aSub[1],len(cExt)+1) = "."+cExt
28 aOutput + ( cPath + "/" + aSub[1] )
31 aOutput + ( cPath + "/" + aSub[1] )