RosettaCodeData/Task/Associative-array-Iteration/PostScript/associative-array-iteration.ps

7 lines
146 B
PostScript
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
% over keys and values
<</a 1 /b 2 /c 3>> {= =} forall
% just keys
<</a 1 /b 2 /c 3>> {= } forall
% just values
<</a 1 /b 2 /c 3>> {pop =} forall