import fsys;
/*
在参数 @2 指定的目录搜索参数 @1 指定的文件名。
如果参数 @3 为 true 则允许搜索子目录(默认不搜索)
*/
var path = fsys.searchFile("QuickStart.aardio","~/examples",true)
//可指定多个要搜索的目录
path = fsys.searchFile("QuickStart.aardio","~/examples","~/examples2","~/examples3")
print(path);
Markdown 格式