Article View: comp.lang.postscript
Article #1648Re: best method of commenting out blocks of postscript?
From: Ned Batchelder
Date: Thu, 15 Mar 1990 23:54
Date: Thu, 15 Mar 1990 23:54
19 lines
1212 bytes
1212 bytes
How about prefacing the block with save ( and postfacing (?!) the block with ) pop restore This is much simpler than the procset posted, and works with a few restrictions: 1. You can't comment out more than 64K characters 2. You need to have enough VM available to store the commented characters 3. You need to have space on the operand stack for two objects 4. You need to have one save level available Those don't seem too harsh. Ned Batchelder, Digital Equipment Corp., BatchelderN@Hannah.enet.DEC.com
Technical Details
Message-ID:
<9272@shlump.nac.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shlump.nac.dec.com!hannah.enet.dec.com!batcheldernReferences:
<1049@chinacat.Lonestar.ORG> <22649@pasteur.Berkeley.EDU> <18106@rpp386.cactus.org> <153@heaven.woodside.ca.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shlump.nac.dec.com!hannah.enet.dec.com!batcheldern From: batcheldern@hannah.enet.dec.com (Ned Batchelder) Newsgroups: comp.lang.postscript Subject: Re: best method of commenting out blocks of postscript? Keywords: comment blocks Message-ID: <9272@shlump.nac.dec.com> Date: 15 Mar 90 23:54:14 GMT References: <1049@chinacat.Lonestar.ORG> <22649@pasteur.Berkeley.EDU> <18106@rpp386.cactus.org> <153@heaven.woodside.ca.us> Sender: newsdaemon@shlump.nac.dec.com Reply-To: batcheldern@hannah.enet.dec.com Distribution: usa Organization: Digital Equipment Corporation Lines: 19