Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
A Bug With Adjective Definitions That Reference Values As Opposed To Value Ranges?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Erik Wennstrom  
View profile  
 More options May 23 2006, 3:42 am
Newsgroups: rec.arts.int-fiction
From: Erik Wennstrom <h...@qrREMOVEivy.net>
Date: Tue, 23 May 2006 03:42:59 -0400
Local: Tues, May 23 2006 3:42 am
Subject: [I7] A Bug With Adjective Definitions That Reference Values As Opposed To Value Ranges?
I'm not sure if this is a bug, or if it's just a matter of my
incomprehension of something.  Here's my code:

> "Topsy Turvy" by Erik Wennstrom

> An angle is a kind of value.  45 degrees specifies an angle.
> A thing has an angle that varies called the tilt.  The tilt of a thing is usually 0 degrees.

> Definition: A thing is upside-down if its tilt is 180 degrees.
> Definition: A thing is flipped-over if its tilt is 180 degrees or more.

> Before printing the name of an upside-down thing, say "upside-down ".
> After printing the name of a flipped-over thing, say " that is flipped over".

> Da House is a room.
> A pineapple cake is in Da House.
> The king of hearts is in Da House.  The tilt of the king of hearts is 180 degrees.
> A junior birdman is in Da House.  The tilt of the junior birdman is 0 degrees.

And here's the sample run:

> Topsy Turvy
> An Interactive Fiction by Erik Wennstrom
> Release 1 / Serial number 060523 / Inform 7 build 3K56 (I6/v6.31 lib 6/10N) SD

> Da House
> You can see an upside-down pineapple cake, an upside-down king of hearts that is flipped over and an upside-down junior birdman here.

It seems to me like Inform is correctly not identifying the cake and the
birdman as flipped over because their tilts are less than 180 degrees,
but that it is incorrectly identifying the cake and the birdman as
upside-down, even though their tilts are obviously not 180 degrees.

Any thoughts?

Erik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JDC  
View profile  
 More options May 23 2006, 4:52 am
Newsgroups: rec.arts.int-fiction
From: "JDC" <jd...@psu.edu>
Date: 23 May 2006 01:52:00 -0700
Subject: Re: A Bug With Adjective Definitions That Reference Values As Opposed To Value Ranges?
The following works:
Definition: A thing is upside-down if the tilt of it is 180 degrees.

I think what is happening is that the phrasing you used (using "its")
is understood as defining a comparison (and it seems to interpret this
as "180 degrees or less", since when I changed something to 181 degrees
it was no longer upside down). Why it does this, I'm not exactly sure.

-JDC


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JDC  
View profile  
 More options May 23 2006, 4:54 am
Newsgroups: rec.arts.int-fiction
From: "JDC" <jd...@psu.edu>
Date: 23 May 2006 01:54:10 -0700
Local: Tues, May 23 2006 4:54 am
Subject: Re: A Bug With Adjective Definitions That Reference Values As Opposed To Value Ranges?
(btw, build 3M43 is out...)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »