Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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