To create a program, select PRGM by pressing the 2ndF and PRGM keys in succession, and select NEW using the down arrow key (or press the "C" key).
Next, the Sharp EL is expecting you to enter a program title.
But firstly, the program listing must be completed. So make sure the remaining 10 lines of the following listing are correctly entered.
|SQUARES||S : press the ALPHA and S keys in succession
Q : use ALPHA, Q key, etc.
|Label 5||> 2ndF, PRGM > BRNCH (Branch) > Label
(use the arrow keys)
Select Label, press ENTER, 5, ENTER.
|ClrT||> 2ndF, PRGM > SCRN (Screen) > ClrT (ClearText)|
|Input X||> 2ndF, PRGM > PRGM > Input
X : X key or ALPHA, X keys
|X+3→Z||"→" Symbolizes the STO key|
|Print X²||> 2ndF, PRGM > PRGM > Print
To get X² press the X and x² keys.
|If X<Z Goto 6||> 2ndF, PRGM > BRNCH > If
> MATH > INEQ > "<"
> 2ndF, PRGM > BRNCH > Goto
|Wait||> 2ndF, PRGM > PRGM > Wait|
After putting in the program, leave the program edit screen using the QUIT function (press the 2ndF and QUIT keys in succession).
Running the Program
> 2ndF, PRGM > EXEC (Execute) > SQUARES (+ENTER)
Once the program execution is interrupted, view the results, i.c. the calculated values of 30², 31² and 32².
Editing the Program
> 2ndF, PRGM > EDIT > SQUARES
Hein ten Horn
Top | Programs Sharp EL | Home