Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!news.rrz.uni-hamburg.de!news.dkrz.de!dscomsa.desy.de!CERN.ch!vsopb7.cern.ch!wagner
From: wagner@vsopb7.cern.ch (David Wagner)
Subject: Re: Box command in Inform
X-Nntp-Posting-Host: vsopb7.cern.ch
Message-ID: <20MAR199509495623@vsopb7.cern.ch>
News-Software: VAX/VMS VNEWS 1.41    
Sender: news@news.cern.ch (USENET News System)
Organization: University of Chicago/OPAL-CERN
References: <hq47Wiy.bnewell@delphi.com>
Date: Mon, 20 Mar 1995 08:49:00 GMT
Lines: 32

In article <hq47Wiy.bnewell@delphi.com>, bnewell@delphi.com writes...
>I saw another posting about someone having trouble with the "box"
>command....

Here is the smallest "game" that I can come up with which displays a
box:


Switches v5;              ! Must be version 5 to use box
Global keypress;
[ Main;
  box "Whose game was empires and whose stakes were thrones,"
      "Whose table earth, whose dice were human bones."
      "                                Lord Byron. 1788-1824"
      "                                Age of Bronze";
  keypress = 0;
  do
    @read_char 1 0 0 keypress;
  until (keypress ~= 0);
  @quit;
];


It just draws a box and waits for a keypress.  It works on both a VAX and
a Mac, so it probably should work elsewhere.


>Bob Newell
>bnewell@delphi.com
>gobblernet classic games bbs 701 222 0429

-David
