Post Reply 
HP 35s - How to write a for loop
02-11-2020, 10:39 PM
Post: #4
RE: HP 35s - How to write a for loop
I think so.

Simply take the user input upper limit and construct the control word.

User keys 499
R/S

Have the program take the 499, divide by 1000, then add one.

The control word would be 1.499 and the ISG loop would repeat the steps with the variable changing from 1 to 499.

If the user entered 50 or 75 or ? the loop would run from 1 to that supplied number of times. Something like this.

LBL T
1E3
/
1
+
STO 00
LBL L
Do something in here
ISG 00
GTO L
STOP


Is this what you are thinking about ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 35s - How to write a for loop - bxzj - 02-11-2020, 05:35 PM
RE: HP 35s - How to write a for loop - Gene - 02-11-2020 10:39 PM



User(s) browsing this thread: 3 Guest(s)