Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
15
Task/Unix-ls/PureBasic/unix-ls.basic
Normal file
15
Task/Unix-ls/PureBasic/unix-ls.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
NewList lslist.s()
|
||||
|
||||
If OpenConsole("ls-sim")
|
||||
If ExamineDirectory(0,GetCurrentDirectory(),"*.*")
|
||||
While NextDirectoryEntry(0)
|
||||
AddElement(lslist()) : lslist()=DirectoryEntryName(0)
|
||||
Wend
|
||||
FinishDirectory(0)
|
||||
SortList(lslist(),#PB_Sort_Ascending)
|
||||
ForEach lslist()
|
||||
PrintN(lslist())
|
||||
Next
|
||||
EndIf
|
||||
Input()
|
||||
EndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue