Hp 38g Graphing Calculator Uživatelský manuál Strana 173

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 228
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 172
You can use the following commands to prompt users for
input during your program—or to provide information to
users.
Prompt Commands
BEEP Beeps at the at the frequency and time you specify.
BEEP frequency;time_in_seconds
Exan®le BEEP 1024,-5
Creates a 5-second beep at 1024 Hz.
CHOOSE
Where name is the name of the variable from which the number
of the initially-highlighted item is retrieved—and into which the
number of the chosen item will be stored. Prompt is the top-of-
box prompt or null (meaning no prompt), and item-1 through
item-n are the text items to be displayed. CHOOSE displays a
choose box and sets the specified variable to real number 0
through n corresponding to whether the choose box is canceled
(0), or an item is chosen (1 through n).
CHOOSE name;prompt,item-1..item-n
Example
3{{STO^}}A: CHOOSE A;
"DILBERT“;
"CALVIN&HOBBES";
"BLONDE";
"COMIC STRIPS",
COMIC STRIFS^^
DILBERT
CflLVIN&HOBBES
BLONDE
Programming 8-21
Zobrazit stránku 172
1 2 ... 168 169 170 171 172 173 174 175 176 177 178 ... 227 228

Komentáře k této Příručce

Žádné komentáře