Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Unix-ls/Objeck/unix-ls.objeck
Normal file
12
Task/Unix-ls/Objeck/unix-ls.objeck
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class Test {
|
||||
function : Main(args : String[]) ~ Nil {
|
||||
file_names := System.IO.File.Directory->List(".");
|
||||
each(i : file_names) {
|
||||
file_name := file_names[i];
|
||||
if(System.IO.File.Directory->Exists(file_name)) {
|
||||
file_name += '/';
|
||||
};
|
||||
file_name->PrintLine();
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue