🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #1319

Re: %stdin

#1319
From: Marc Antoni Malagarriga i Picas
Date: Thu, 19 Dec 2002 15:52
19 lines
1158 bytes
Hi Miklos,

Here is an example with %stdin and %stdout files:

% standard file in/out creation
(%stdin) (r) file /In exch def
(%stdout) (w) file /Out exch def

% writes the string
Out (Hi Noi!) writestring

% reads and prompts the string
In 50 string readstring pop ==

Hope this works for you ...

... MaRC anToni
(][ wwww.femfum.com
PostScript&PDF Tools Developers
Technical Details
Message-ID: <1de70e53.3@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de70e53.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,6d3b51f3f3feacde
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2002-12-19 08:07:45 PST
From: "Marc Antoni Malagarriga i Picas" <marcantoni@femfum.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.postscript.programming
Subject: Re: %stdin
Message-ID: <1de70e53.3@WebX.la2eafNXanI>
Date: Thu, 19 Dec 2002 07:52:29 -0800
References: <1de70e53.-1@WebX.la2eafNXanI>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit