510746
90
Zoom out
Zoom in
Vorherige Seite
1/114
Nächste Seite
Programming82
Note:
Label numbers must be unique. Only one label with a given number can exist in the
calculator.
You can jump from one program to another if you know that there is a specific label
number in another program.
Use the tests ? , ? , ? , ? , ? and ? (the top row of keys) to verify
if two numbers are equal, different, and strictly, or not strictly, greater or smaller.
These are dual operator-operands and are used in the same way as addition or
multiplication ( in Algebraic and Chain modes, number1 ?= number2 =, and in
RPN mode, number1 I number2 ?= ) are used, in that they return 0 if false,
and 1 if true. Note that in RPN mode, the tests do not remove the arguments from
the stack, but do push a 0 or 1.
Long Programs and Battery Life
Although it is possible to create programs on the HP 30b that can run for a long period of
time (calculating PI to 700 decimal places, for example) this is not something that we advise,
as it will drain the batteries in less than a day.
Programming on the HP 30b was designed to create small programs to perform a function
not present in the calculator, or to automate a task requiring many keystrokes and then run
relatively quickly. If a program takes more than one second to run, the CPU speed will be
reduced in order to preserve battery life.
Sub-Function Call
It is often useful in a program to have the option to reuse a sub-program from various locations.
To avoid having to retype these sub-programs each time they are necessary, you can use the
(HOLD)
and (HOLD) functions.
CALL, followed by a label number, will jump to the specified label, in the same way a GOTO
instruction does, but, when the RETURN instruction is encountered, the program will continue
execution just after the CALL function. This is equivalent to you temporarily pausing in an
activity to answer a phone call, and then returning to your prior activity after the call. Up to
four calls can be nested at the same time. Another way to picture this might be going to turn
off your stove, while you are answering the doorbell that rang while you were answering your
phone, while you were writing an email… it's hard for us, but computers are good at stacking
tasks in this way.
Enter a call function the same way you enter a GOTO function.
90

Brauchen Sie Hilfe? Stellen Sie Ihre Frage.

Forenregeln

Missbrauch melden von Frage und/oder Antwort

Libble nimmt den Missbrauch seiner Dienste sehr ernst. Wir setzen uns dafür ein, derartige Missbrauchsfälle gemäß den Gesetzen Ihres Heimatlandes zu behandeln. Wenn Sie eine Meldung übermitteln, überprüfen wir Ihre Informationen und ergreifen entsprechende Maßnahmen. Wir melden uns nur dann wieder bei Ihnen, wenn wir weitere Einzelheiten wissen müssen oder weitere Informationen für Sie haben.

Art des Missbrauchs:

Zum Beispiel antisemitische Inhalte, rassistische Inhalte oder Material, das zu einer Gewalttat führen könnte.

Beispielsweise eine Kreditkartennummer, persönliche Identifikationsnummer oder unveröffentlichte Privatadresse. Beachten Sie, dass E-Mail-Adressen und der vollständige Name nicht als private Informationen angesehen werden.

Forenregeln

Um zu sinnvolle Fragen zu kommen halten Sie sich bitte an folgende Spielregeln:

Neu registrieren

Registrieren auf E - Mails für HP 30b wenn:


Sie erhalten eine E-Mail, um sich für eine oder beide Optionen anzumelden.


Das Handbuch wird per E-Mail gesendet. Überprüfen Sie ihre E-Mail.

Wenn Sie innerhalb von 15 Minuten keine E-Mail mit dem Handbuch erhalten haben, kann es sein, dass Sie eine falsche E-Mail-Adresse eingegeben haben oder dass Ihr ISP eine maximale Größe eingestellt hat, um E-Mails zu erhalten, die kleiner als die Größe des Handbuchs sind.

Ihre Frage wurde zu diesem Forum hinzugefügt

Möchten Sie eine E-Mail erhalten, wenn neue Antworten und Fragen veröffentlicht werden? Geben Sie bitte Ihre Email-Adresse ein.



Info