Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.nyc.globix.net!uunet!ash.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: Re: Collecting error message using Inform
Message-ID: <GF0IqK.J1@world.std.com>
Date: Sat, 16 Jun 2001 07:42:19 GMT
References: <3b28aad1.2574646@newsch.es.co.nz> <slrn9ihdse.8i.cerutti@fiad06.norwich.edu> <3b29fc10.4776765@newsch.es.co.nz>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 33
Xref: news.duke.edu rec.arts.int-fiction:88627

In article <3b29fc10.4776765@newsch.es.co.nz>, Brian <bclark@es.co.nz> wrote:
>                      I tried re-directing the messages to a file
>before I asked for help in this newsgroup. For some reason it did not
>work. I'm using Windows ME so I only have a Windowed DOS...maybe that
>is why it does not work.

Redirection works fine in WinME dos boxes. The only tricky part I can
think of--and this is true of all versions of DOS and I wouldn't expect
to be your problem--is that if you use a batch file to compile, say it's
called "z.bat", then you can't type "z > game.err"; you have to make the
commands in z.bat redirect themselves.

For example, whenever I start a new project, I copy the following
three batch files into a directory and change the game name appropriately
(this shows the file for a game called 'fit.inf'):

Z.BAT:
  inform fit
  winfrotz fit.z5

Z2.BAT:
  inform fit > err

Z3.BAT:
  inform -~S %1 %2 %3 fit

The command shown in z2 works for me fine both in a batch file and
if I just type it directly, under both 98 and ME. I regularly develop
with both. (BTW, the compiler reports "PC/Win32 Inform 6.21".)

SeanB
(Actually, those are not character-for-character the batch files I
use, since the actual batch files set several long include paths.)
