HP 30b HP 20b Business Consultant and HP 30b Business Professional User's Guid - Page 92

Messages, Once the character appears, press

Page 92 highlights

Messages The MSG function is used to display messages on screen; it is especially useful when used before halting the program with on the screen for the user. (HOLD) To enter a message while creating a program: , as it allows you to display messages : Press (HOLD) . Release both keys. You can now enter messages. > < : > In this mode, you may press or to select a character and (HOLD) < or to jump 10 characters at a time. Once you have found the desired character, press t { to validate and move to the next character. Press to remove the last character. There are also shortcuts for commonly used characters: 0 9 • - selects the corresponding numeric character . • selects ? = • selects = /*+- • are shortcuts for the corresponding mathematical operator signs } • selects space t O Once the character appears, press to validate. Press to exit message entry. If you want to modify a message that has been entered in a program, select the message and : press (HOLD) message mode. As an example using the message mode, let's return to our sphere calculation program: :EI 1. opens the Program menu, and you are now at step 1 of Program 0. To insert a message at step 1 and push everything else down, simply begin editing at { step 1. If you want to delete the current step, press . : 2. Press (HOLD) . 84 Programming

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114

Programming
84
Messages
The MSG function is used to display messages on screen; it is especially useful when used
before halting the program with
(HOLD)
, as it allows you to display messages
on the screen for the user.
To enter a message while creating a program:
Press
:
(HOLD)
. Release both keys. You can now enter messages.
In this mode, you may press
>
or
<
to select a character and
:
(HOLD)
>
or
<
to jump 10 characters at a time. Once you have found the desired character, press
t
to validate and move to the next character. Press
{
to remove the last character.
There are also shortcuts for commonly used characters:
0
-
9
selects the corresponding numeric character
.
selects ?
=
selects =
/*+-
are shortcuts for the corresponding mathematical operator signs
}
selects space
Once the character appears, press
t
to validate. Press
O
to exit message entry.
If you want to modify a message that has been entered in a program, select the message and
press
:
(HOLD)
message mode.
As an example using the message mode, let’s return to our sphere calculation program:
1.
:EI
opens the Program menu, and you are now at step 1 of Program
0. To insert a message at step 1 and push everything else down, simply begin editing at
step 1. If you want to delete the current step, press
{
.
2.
Press
:
(HOLD)
.