Post Reply 
HP 35s - How to write a for loop
02-11-2020, 08:44 PM
Post: #3
RE: HP 35s - How to write a for loop
(02-11-2020 08:32 PM)Maximilian Hohmann Wrote:  Hello!

If you come from a high level programming language then programming loops and other control structures with calculators that rely on "keystroke programming" can be a very major PIA. But it is possible (to a degree).

(02-11-2020 05:35 PM)bxzj Wrote:  If so, can someone give me an example of a for loop?

This is an online version of the calculator manual: https://www.manualslib.com/manual/257003...228#manual
When you click forward two pages you can see a very simple example.

Have fun with it (so to say...)
Max

The problem with the example provided by the manual is that it works with a “fixed limit”(for instance from 0 to 10 or from 0 to 50), what I want to do is a “dynamic” loop: something like “from 1 to x” with x inserted by the user. But I don’t know if it’s possible.
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 - bxzj - 02-11-2020 08:44 PM



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