Claims
- 1. An electronic calculator comprising:
- keyboard input means including a plurality of keys for entering lines of one or more alphameric statements, including algebraic expressions, into the calculator, and a jump key for entering a jump statement that includes an algebraic expression into the calculator;
- memory means, coupled to said keyboard input means, for storing a program comprising a plurality of lines of one or more alphameric statements entered into the calculator, each one of said plurality of lines being associated with a separate line number;
- processing means, coupled to said keyboard input means and memory means, for processing the lines of one or more alphameric statements stored as a program in said memory means to perform selected functions and to calculate the numeric results of algebraic expressions, as specified by the lines of alphameric statements comprising that program, said processing means being responsive to a jump statement, including an algebraic expression, encountered during processing of a line of a program stored in said memory means, for evaluating that algebraic expression and for then transferring processing of that program to the line of one or more alphameric statements having an associated line number determined by the algebraic sum of the calculated numeric result of that algebraic expression and the line number associated with the line in which that jump statement was encountered; and
- output means, coupled to said processing means, for providing a visual indication of selected functions performed by the calculator.
- 2. An electronic calculator as in claim 1 wherein the calculated numeric result of the algebraic expression included within the jump statement is negative.
- 3. An electronic calculator as in claim 1 wherein:
- each line of the program stored in said memory means is associated with a separate integral line number; and
- said processing means truncates any decimal portion of the calculated numeric result of the algebraic expression included within the jump statement.
CROSS REFERENCE TO RELATED APPLICATION
This is a division of application Ser. No. 510,921, filed on Sept. 30, 1974, now U.S. Pat. No. 4,038,538, which is in turn a division of application Ser. No. 212,581, filed on Dec. 27, 1971, now issued as U.S. Pat. No. 3,839,630. The subject matter of U.S. Pat. No. 3,839,630 is incorporated herein by reference.
US Referenced Citations (5)
Divisions (2)
|
Number |
Date |
Country |
Parent |
510921 |
Sep 1974 |
|
Parent |
212581 |
Dec 1971 |
|