RosettaCodeData/Task/Logical-operations/PostScript/logical-operations.ps

8 lines
66 B
PostScript

/logical{
/a exch def
/b exch def
a b and =
a b or =
a not =
}def