Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -7,12 +7,12 @@ Connection relates various texts to one number. The verb to be connected to impl
|
|||
"baz" is connected to 56.
|
||||
|
||||
When play begins:
|
||||
[change values]
|
||||
now "bleck" is connected to 78;
|
||||
[check values]
|
||||
if "foo" is connected to 12, say "good.";
|
||||
if "bar" is not connected to 56, say "good.";
|
||||
[retrieve values]
|
||||
let V be the number that "baz" relates to by the connection relation;
|
||||
say "'baz' => [V].";
|
||||
end the story.
|
||||
[change values]
|
||||
now "bleck" is connected to 78;
|
||||
[check values]
|
||||
if "foo" is connected to 12, say "good.";
|
||||
if "bar" is not connected to 56, say "good.";
|
||||
[retrieve values]
|
||||
let V be the number that "baz" relates to by the connection relation;
|
||||
say "'baz' => [V].";
|
||||
end the story.
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
Hash Bar is a room.
|
||||
|
||||
When play begins:
|
||||
let R be a various-to-one relation of texts to numbers;
|
||||
[initialize the relation]
|
||||
now R relates "foo" to 12;
|
||||
now R relates "bar" to 34;
|
||||
now R relates "baz" to 56;
|
||||
[check values]
|
||||
if R relates "foo" to 12, say "good.";
|
||||
if R does not relate "bar" to 56, say "good.";
|
||||
[retrieve values]
|
||||
let V be the number that "baz" relates to by R;
|
||||
say "'baz' => [V].";
|
||||
end the story.
|
||||
let R be a various-to-one relation of texts to numbers;
|
||||
[initialize the relation]
|
||||
now R relates "foo" to 12;
|
||||
now R relates "bar" to 34;
|
||||
now R relates "baz" to 56;
|
||||
[check values]
|
||||
if R relates "foo" to 12, say "good.";
|
||||
if R does not relate "bar" to 56, say "good.";
|
||||
[retrieve values]
|
||||
let V be the number that "baz" relates to by R;
|
||||
say "'baz' => [V].";
|
||||
end the story.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue