Inform: bug in a box?


Sat, 18 Nov 1995 13:58:06 +0100

I think I may have come across a bug in the `box' command.

Normally, the command `box "Hello";' would display "Hello" in a reverse
coloured box which was 7 characters wide and 3 characters high. Thus,
_______
| |
| Hello |
|_______|

A similar result would be expected of the command `box "\\\\\";' EXCEPT that
'\' is an Inform escape character, and can only be included in text by
writing it as @@92. So, you have the command `box "@@92@@92@@92@@92@@92";'.
This should display
_______
| |
| \\\\\ |
|_______|

It actually gets the box dimensions wrong (giving four spaces for each @@92
[or whatever] rather than one for the implied escape character), and displays
______________________
| |
| \\\\\ |
|______________________|

Is this a (known) bug? Is there a way around it?

-- 
Jools Arnold                                          jools@arnod.demon.co.uk