RosettaCodeData/Task/Hash-from-two-arrays/PostScript/hash-from-two-arrays.ps
2023-07-01 13:44:08 -04:00

6 lines
159 B
PostScript

% push our arrays
[/a /b /c /d /e] [1 2 3 4 5]
% create a dict with it
{aload pop} dip let currentdict end
% show that we have created the hash
{= =} forall