Skip to content

Commit

Permalink
Added $TRASH filter
Browse files Browse the repository at this point in the history
  • Loading branch information
evshvarov committed May 19, 2017
1 parent 731345a commit d0b50ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS*

dev.md
1 change: 1 addition & 0 deletions sc.code.cls
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ ClassMethod export(generated = 0, system = 0, percent = 0, mapped = 0, mask = ""
while rs.%Next() {
s code = rs.Name, filename = ..filename( code_".dfi" )
if ( '$find( code, mask ) ) continue
if ($L(code,"$TRASH")>1) continue
$$$mkdir( filename )
$$$log
$$$export(code,filename)
Expand Down

0 comments on commit d0b50ad

Please sign in to comment.