[z-machine] Stream question of the day
Amir Karger
amirkargerweb@yahoo.com
Mon, 24 Nov 2003 10:06:15 -0800 (PST)
Yet another thing a bit contradictory in the spec.
7.1.2.2: Output stream 3 is unusual in that, while it is selected, no
text is sent to any other output streams which are selected.
7.1.1.1: In Versions 1 to 5, the player's input to the read opcode
should be echoed to output streams 1 and 2 (if stream 2 is active), so
that text typed in appears in any transcript.
So, if I'm crazy enough to do a read while stream 3 is selected, should
I echo the input to streams 1 and 2, or not? Frotz2002 says the answer
is yes, you do echo input to those streams. And AFAICT the input does
NOT go to stream 3. Would you agree that's what the spec says should
happen?
I guess the point here is that output streams don't get input text
unless the spec specifically says they should: in particular, it says
you should echo input text to output streams 1 & 2 (hence, not 3). But
it wasn't clear to me that 7.1.2.2 only includes output text, not
"echoed input text".
-Amir
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/