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

7 lines
146 B
PostScript

% 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