<code>
"A story"
Living room is a room.
Every turn:
if turn count is more than 3, say "Turn count is more than 3."
<code>
Here is the problem:
<problem>
Problem. In the sentence 'if turn count is more than 3, say "Turn
count is more than 3."' , I was expecting that 'turn count is more
than 3' would be a condition, but I couldn't make sense of it in any
context.
<problem>
Though this example does work:
<code>
"A story"
Living room is a room.
Every turn: if turn count is less than 3, say "Turn count is less than
3."
<code>
Not that I need exactly this code to work, it's just no "more than"
statement works for me (when comparing number variables with constant
numbers). "Less than" works perfectly though.
And sorry for my English, it's not my native language.
> no "more than" statement works for me (when comparing
> number variables with constant numbers). "Less than"
> works perfectly though.
It seems you need to use "greater than".
Eq.
Ah, thank you very much! Looks like I shouldn't use Inform 7 without
proper knowledge of English. :-/
From what I've seen while lurking, proper knowledge of English won't
always help, and may from time to time be a hindrance.
Though adherents may bristle at the assertion, it seems pretty clear to
me that Inform 7 is a programming language _disguised_ as English.
--Jim Aikin
...or obfuscated, if you like me prefer the "old school". :-)
/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
What you generally need is the "Phrasebook" page of the Index tab.
This lists most of the phrases that I7 knows, including the ones
defined in your game.
However, the phrasebook falls down in this instance. Possibly because
"greater than" / "less than" are defined by the compiler rather than
by the standard rules.
The phrasebook *does* list "more than" and "less than" for
descriptions. (As in, "if the Kitchen contains less than three
people..." rather than "if the number of people in the Kitchen is less
than three...") This is a confusing distinction, and it's worth a bug
report to ask that "more than" and "greater than" both work in both
these cases. And "less than" and "fewer than".
--Z
--
"And Aholibamah bare Jeush, and Jaalam, and Korah: these were the borogoves..."
*
If the Bush administration hasn't thrown you in military prison without trial,
it's for one reason: they don't feel like it. Not because you're patriotic.
I think of I7 as a programming language which includes many valuable
English features. (Including "looking like English".)
The bristling comes when the righteous arise in their towering wrath
and insist that, by admitting this, I must be rejecting Graham the
Deceiver and all his works.
I like to think of it as "every bit as faithful to English as the games
themselves."
--
|| S. John Ross
|| Husband · Cook · Writer
|| In That Order
|| http://www.io.com/~sjohn/bio.htm