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

7 lines
146 B
PostScript
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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