langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
11
Task/Metaprogramming/PostScript/metaprogramming-1.ps
Normal file
11
Task/Metaprogramming/PostScript/metaprogramming-1.ps
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/ift {
|
||||
4 dict begin
|
||||
[/.if /.then] let*
|
||||
count array astore /.stack exch def
|
||||
/_restore {clear .stack aload pop}.
|
||||
.stack aload pop .if {
|
||||
_restore .then
|
||||
} {
|
||||
_restore
|
||||
} ifelse
|
||||
end}.
|
||||
Loading…
Add table
Add a link
Reference in a new issue