510746
90
Verklein
Vergroot
Pagina terug
1/114
Pagina verder
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

Hulp nodig? Stel uw vraag in het forum

Spelregels

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw HP 30b bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van HP 30b in de taal/talen: Engels als bijlage per email.

De handleiding is 2,43 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Stel vragen via chat aan uw handleiding

Stel uw vraag over deze PDF

loading

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info