Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!cg-atla!kincaid From: kincaid@cg-atla.UUCP (Tom Kincaid ) Newsgroups: comp.lang.postscript Subject: Case statements in Postscript Keywords: Novice Question Message-ID: <7573@cg-atla.UUCP> Date: 29 Aug 89 17:14:24 GMT Distribution: comp Organization: Agfa Compugraphic Division, Wilmington, Mass. USA Lines: 10 If I have a postscript variable V1 that can have a value 1 2 3 or 4 and I want to execute /proc1 if V1 = 1 /proc2 if V1 = 2 /proc3 if V1 = 3 /proc4 if V1 = 4 What is the best way to write the code ? Is there a case statement of some sort ?