Skip to content
Snippets Groups Projects
Commit 89cf310f authored by rswindell's avatar rswindell
Browse files

Better example of directory() and bbs.sys_status usage.

parent b7c2ba58
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,9 @@ if (path==undefined)
if (path.indexOf('*')<0 && path.indexOf('?')<0)
path += "*"; // No pattern specified
print(path);
dir = directory(path);
dir = directory(path,GLOB_PERIOD);
for (i in dir) {
if(bbs.sys_status&SS_ABORT)
if(this.bbs && bbs.sys_status&SS_ABORT)
break;
print(dir[i]);
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment