[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Printing a value from index array
From: |
harish3679 |
Subject: |
Printing a value from index array |
Date: |
Mon, 23 Jul 2018 10:07:46 -0500 (CDT) |
Hi,
for this experiment
choice = menu("beverages"{"beer","whiskey","brandy","vodka"});
disp(choice);
it asks me to select a number
menu
[1] beer
[2] whiskey
[3] brandy
[4] vodka
when I enter a number it just displays the number and excludes the strings
like beer, whiskey. .
Can I use listdlg instead?
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- Printing a value from index array,
harish3679 <=