tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
11
Task/Repeat-a-string/Inform-7/repeat-a-string.inf
Normal file
11
Task/Repeat-a-string/Inform-7/repeat-a-string.inf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Home is a room.
|
||||
|
||||
To decide which indexed text is (T - indexed text) repeated (N - number) times:
|
||||
let temp be indexed text;
|
||||
repeat with M running from 1 to N:
|
||||
let temp be "[temp][T]";
|
||||
decide on temp.
|
||||
|
||||
When play begins:
|
||||
say "ha" repeated 5 times;
|
||||
end the story.
|
||||
Loading…
Add table
Add a link
Reference in a new issue