Article View: comp.lang.postscript
Article #41900 0 1 {} for
From: George Jefferson
Date: Fri, 07 Dec 1990 16:30
Date: Fri, 07 Dec 1990 16:30
16 lines
1138 bytes
1138 bytes
I just discovered this 'illegal' zero increment for loop in someone elses Ps file.
The interesting thing is that the loop is simply ignored by
our LaserWriter and our HP111/PS. (no errors reported and the file prints fine)
I discovered it because it bombs X11/NeWS Pageview.
My question is, is this construction simply undefined (therefore interpreter dependant..)
or is it _supposed_ to be ignored?
By the way, Pageview also chokes on 1 0 1 { } for
which I think should be a well defined 'null' statement
--
-george @sol1.lrsm.upenn.edu
Technical Details
Message-ID:
<34305@netnews.upenn.edu>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!rutgers!netnews.upenn.edu!eniac.seas.upenn.edu!jeffeReferences:
<7699@hub.ucsb.edu> <371@rusux1.rus.uni-stuttgart.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!rutgers!netnews.upenn.edu!eniac.seas.upenn.edu!jeffe
From: jeffe@eniac.seas.upenn.edu (George Jefferson )
Newsgroups: comp.lang.postscript
Subject: 0 0 1 {} for
Summary: what _should_ this non-sense loop do?
Message-ID: <34305@netnews.upenn.edu>
Date: 7 Dec 90 16:30:51 GMT
References: <7699@hub.ucsb.edu> <371@rusux1.rus.uni-stuttgart.de>
Sender: news@netnews.upenn.edu
Reply-To: jeffe@eniac.seas.upenn.edu (George Jefferson )
Organization: University of Pennsylvania
Lines: 16