Re: Box command in Inform


Mon, 20 Mar 1995 08:49:00 GMT

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