-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Tablets and Mobile Devices Archive
- HP35s calculator

Create an account on the HP Community to personalize your profile and ask a question

03-11-2011 08:06 AM
Can someone tell me how to enter a word or phrase into an HP 35s? I have searched and researched but cannot find any direction. Thanks!!!!!
Solved! Go to Solution.
Accepted Solutions
03-11-2011 10:13 AM
I am assuming you wish to enter a text in a program and display it on the screen when the program runs.
To display "MESSAGE", enter the following program:
M001 LBL M
M002 SF 10
M003 MESSAGE
M004 PSE
M005 CF 10
M006 RTN
the following keystrokes: (RS = Right Shift (blue), LS = Left Shift (orange))
RS PRGM enter program mode
RS LBL M label program M
LS FLAGS 1 .0 set flag 10
EQN RCL M puts letter M
RCL E puts letter E
RCL S puts letter S
RCL S puts letter S
RCL A puts letter A
RCL G puts letter G
RCL E puts letter E
ENTER finishes line M003
RS PSE pause while calculator displays message
LS FLAGS 2 .0 clears flag 10
LS RTN Returns to start
RS PRGM exits program mode
XEQ M ENTER displays "MESSAGE" for 2-3 seconds
Warning, do not forget step M004, as the calculator will lock up and you will loose any saved programmes. See HP-35s bug list .
HTH
Bart
_________________________________________________________
calculator enthusiast
03-11-2011 10:13 AM
I am assuming you wish to enter a text in a program and display it on the screen when the program runs.
To display "MESSAGE", enter the following program:
M001 LBL M
M002 SF 10
M003 MESSAGE
M004 PSE
M005 CF 10
M006 RTN
the following keystrokes: (RS = Right Shift (blue), LS = Left Shift (orange))
RS PRGM enter program mode
RS LBL M label program M
LS FLAGS 1 .0 set flag 10
EQN RCL M puts letter M
RCL E puts letter E
RCL S puts letter S
RCL S puts letter S
RCL A puts letter A
RCL G puts letter G
RCL E puts letter E
ENTER finishes line M003
RS PSE pause while calculator displays message
LS FLAGS 2 .0 clears flag 10
LS RTN Returns to start
RS PRGM exits program mode
XEQ M ENTER displays "MESSAGE" for 2-3 seconds
Warning, do not forget step M004, as the calculator will lock up and you will loose any saved programmes. See HP-35s bug list .
HTH
Bart
_________________________________________________________
calculator enthusiast
03-11-2011 04:07 PM - edited 03-11-2011 04:11 PM
Believe me, you are not the first person to struglle with this. They don't make the manuals like they used to :). That's why I thought an example would demonstrate it best.
Actually it is an equation that is being entered. The calculator knows to display it instead of evaluating it by setting flag 10.
Have fun programming
By the way, the HP Community - Calculators Forum is a good source of help.
Bart
_________________________________________________________
calculator enthusiast
03-24-2011 07:25 PM
I dont get the purpose of the flag status.here a test program I wrote to see how differently it behaves with and without the flags
B001 LBL B
B002 RPN
B003 CLSTK
B004 CLVARS
B005 SF 10
B006 1
B007 INPUT I
B008 X=Y?
B009 GTO B022
B010 2
B011 RCL I
B012 X=Y?
B013 GTO B025
B014 3
B015 RCL I
B016 X=Y?
B017 GTO B028
B018 4
B019 RCL I
B020 X=Y?
B021 GTO B031
B022 NUM 1 CHOSEN
B023 PSE
B024 RTN
B025 NUM 2 CHOSEN
B026 PSE
B027 RTN
B028 NUM 3 CHOSEN
B029 PSE
B030 RTN
B031 NUM 4 CHOSEN
B032 PSE
B033 RTN
B035 CF 10
B036 RTN
Brief Description: this test program prompts for an input, so if I input 1, the prog jumps to line B022 if I enter 2, it jumps to line B025 and similary for inputs 3 & 4. The program works the same way with and without flag 10 being set. So why should I use this flag at all?? what am I missing?
03-25-2011 12:51 PM
@ilikepi wrote:I dont get the purpose of the flag status.here a test program I wrote to see how differently it behaves with and without the flags
B001 LBL B
B002 RPN
B003 CLSTK
B004 CLVARS
B005 SF 10
B006 1
B007 INPUT I
B008 X=Y?
B009 GTO B022
B010 2
B011 RCL I
B012 X=Y?
B013 GTO B025
B014 3
B015 RCL I
B016 X=Y?
B017 GTO B028
B018 4
B019 RCL I
B020 X=Y?
B021 GTO B031
B022 NUM 1 CHOSEN
B023 PSE
B024 RTN
B025 NUM 2 CHOSEN
B026 PSE
B027 RTN
B028 NUM 3 CHOSEN
B029 PSE
B030 RTN
B031 NUM 4 CHOSEN
B032 PSE
B033 RTN
B035 CF 10
B036 RTN
Brief Description: this test program prompts for an input, so if I input 1, the prog jumps to line B022 if I enter 2, it jumps to line B025 and similary for inputs 3 & 4. The program works the same way with and without flag 10 being set. So why should I use this flag at all?? what am I missing?
Hi ilikepi,
Flag 10 tells the calculator that you wish to display text and not evaluate an equation.
1) for INPUT, the flag need not be set, the variable name is automatically diplayed and entry expected.
2) When I run your program with flag 10 clear, I get "SYNTAX ERROR" at line B022, B025, B028 and B031 respectively.
2) Your program never reaches the second last line: "CF 10". So after you ran your program the first time flag 10 remained set even if you removed the line "B005 SF10", and displayed lines B022, B025, B028 and B031 as you expected. (to be sure flag 10 is clear, manually clear it before running the program).
Hope this helps
Bart
_________________________________________________________
calculator enthusiast
03-25-2011
06:43 PM
- last edited on
03-25-2011
07:29 PM
by
SedonaF
Thanks for the reply, clear & concise. When you mentioned you got a syntax error, I realised flag 10 was set all along. I might have set it and forgotten to clear it after that. No wonder it didnt make a difference, the {Content Edited} thing was on all the time. :D. I"m probably going to leave flag 10 on at all times, hopefully wouldnt cause any problems. Once again, I appreciate you helping me out on this one. BRgds
03-26-2011 05:37 PM
If you keep flag 10 set, then when you have an equation in your program that you wish to be calculated, it will be displayed instead.
Best regards
Bart
_________________________________________________________
calculator enthusiast
