A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
1
Task/Boolean-values/Inform-7/boolean-values-1.inf
Normal file
1
Task/Boolean-values/Inform-7/boolean-values-1.inf
Normal file
|
|
@ -0,0 +1 @@
|
|||
let B be whether or not 123 is greater than 100;
|
||||
1
Task/Boolean-values/Inform-7/boolean-values-2.inf
Normal file
1
Task/Boolean-values/Inform-7/boolean-values-2.inf
Normal file
|
|
@ -0,0 +1 @@
|
|||
if B is true, say "123 is greater than 100."
|
||||
9
Task/Boolean-values/Inform-7/boolean-values-3.inf
Normal file
9
Task/Boolean-values/Inform-7/boolean-values-3.inf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
To decide whether the CPU is working correctly:
|
||||
if 123 is greater than 100, decide yes;
|
||||
otherwise decide no.
|
||||
|
||||
When play begins:
|
||||
[convert to truth state...]
|
||||
let B be whether or not the CPU is working correctly;
|
||||
[...or use as a condition]
|
||||
if the CPU is working correctly, say "Whew."
|
||||
Loading…
Add table
Add a link
Reference in a new issue