Re: Inform: control characters in text


Sun, 30 Jul 1995 20:12:41 +0100

Gareth Rees (gdr11@cl.cam.ac.uk) wrote:

> Inform allows you to define "variable strings" that print particular
> text of your choosing (the mechanism is the same as for abbreviations).
> For example, you could try this:
>
> Lowstring newpar "^ ";
> String 0 newpar;

This should be:

Lowstring newpar "^ ";
String 0 #newpar;

> and then you can have text like
>
> "This is paragraph one.@0This is paragraph two.@0"

Well, Inform will do this, but when I try to play the game the interpreters
crash, claiming an illegal opcode (Ive tried both ZIP and ITF). Is this
Inform being naughty, the interpreters or something else?

> Having said the above, when text is printed in a monospaced font, as it
> is when I played adventure games, I much prefer paragraphs to be not
> indented and separated by blank lines.

Yes, I think I agree with this after all, though Adventions use indents to
nice effect.

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