Created
September 9, 2020 07:37
-
-
Save kellyelton/44881d6970b4fa5e52e77f773194eae6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright Kelly Elton 2020 | |
# All Rights Reserved | |
#fun get_files iter<string, int>: path str, recursive bool | |
# return .platform.get_files: path, recursive | |
## ================== | |
function getfiles2 iter<string, int> with path string and recursive bool | |
return .platform.getfiles with path: path and recursive: recursive | |
function getfiles3 iter<string, int> | |
path string and recursive bool | |
return .platform.getfiles with path: path and recursive: recursive | |
func getfiles iter<string, int> | |
path string | |
recursive bool | |
return .platform.getfiles | |
path: path | |
recusrive: recursive | |
function _example_code | |
var file_path = "c:\\files" | |
var files = getfiles with path: filepath | |
recursive: true | |
set files to getfiles | |
path: filepath | |
recursive: true | |
set files to getfiles with path: filepath | |
recursive: true | |
for file in files | |
.console.printline with line: file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment