A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
13
Task/Menu/Icon/menu.icon
Normal file
13
Task/Menu/Icon/menu.icon
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
procedure main()
|
||||
|
||||
L := ["fee fie", "huff and puff", "mirror mirror", "tick tock"]
|
||||
|
||||
every i := 1 to *L do
|
||||
write(i,") ",L[i])
|
||||
repeat {
|
||||
writes("Choose a number from the menu above: ")
|
||||
a := read()
|
||||
if 1 <= integer(a) <= i then break
|
||||
}
|
||||
write("You selected ",a," ==> ",L[a])
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue