HP RPN SCIENTIFIC WP 34S Owner's Manual page 70

Table of Contents

Advertisement

 Take VIEW, VIEWα, or VWα+ for plain display updates. X is a valid parameter for
VIEW and VWα+. Note that frequent updates will slow down program execution,
since the anti-flicker logic waits for a complete display refresh cycle before allowing
the next update.
 Use one of the following four code segments for displaying messages or other
information for a defined minimum time interval, specified by PSE (see the
details):
PSE
for plain numeric output
 Ask ('prompt') for numeric input employing one of these four:
STOP
Whatever you key in will be in X when you continue the program by pressing
If you want it elsewhere, take care of it.
 Prompt for alphanumeric input by the following steps:
αON
PROMPT
αOFF
Whatever you key in will be appended to

you press
See the
IOP
for more information about these commands and their parameters.
If you press – instead of or after keying in numeric data – one of the hotkeys
input, the program will call the next routine beginning with a label carrying this name.
The following
001
LBL 'MYP'
002
CLα
003
α 'Hel'
004
α 'lo!'
005
LBL 00
006
PROMPT
007
GTO 00
008
LBL A
009
ENTRY?
010
GTO 03
011
XEQ 01
012
LBL 03
013
STO 01
014
RTN
WP 34S Owner's Manual
VIEW
PSE
VIEWα
STOP
sets alpha mode and prepares for showing the final part of
displays this part and waits for user input, terminated by
returns to the numeric mode previously set.
.
example
shows how a typical structure of such a program might look:
Sets up a message ...
... and stops waiting for user input.

does nothing, it simply returns to the prompt.
Called if user input after step 006 was terminated by
Any new numeric data entered by the user?
Then go to step 012 where local label 11 lives.
Else call subroutine 01 for computing a new number instead.
Store the new number (input or computed).
Return to prompting via step 007.
VIEWα
VWα+
PSE
PSE
for complex alphanumeric messages
VWα+
PROMPT
STOP
alpha
here. The program will continue when
Edition 3.1
combines VWα+ X and
STOP in one command
alpha

.

to

.
Page 70 of 211
IOP
for

.
.

in

Advertisement

Table of Contents
loading

Table of Contents