A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
4
Task/Menu/Mathematica/menu.mathematica
Normal file
4
Task/Menu/Mathematica/menu.mathematica
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
textMenu[data_List] := (MapIndexed[Print[#2[[1]], ") ", #] &, {a, b, c}];
|
||||
While[! (IntegerQ[choice] && Length[data] > choice > 0),
|
||||
choice = Input["Enter selection"]];
|
||||
data[[choice]])
|
||||
Loading…
Add table
Add a link
Reference in a new issue