Abstract:
A method having a summary function for a calculator is proposed. The method is matched with the operation of software program to let the calculator have both the functions of accounts check and surplus calculation. First, data of the desired items selectively recorded by the user are stored in a memory. A summary mode is then entered into to check each piece of subtotal data one by one for use of accounting of one day or one week. Moreover, each piece of data in the memory can be summed up. Thereby, the convenience in use of the calculator can be enhanced for stores or shop employees.

Description:
FIELD OF THE INVENTION  
         [0001]    The present invention relates to a method having a summary function for a calculator and, more particularly, to a method capable of letting a calculator have both the functions of accounts check and surplus calculation.  
         BACKGROUND OF THE INVENTION  
         [0002]    The functions of existent calculators are limited to recording a certain piece of subtotal and the total sum of direct summation or direct subtraction (e.g., M+, M− and so on). If a common store wants to selectively record a certain piece of subtotal data to facilitate check of each piece of result one by one, or wants to sum up for use of accounting or surplus statistics of one day or one week, there is no existent calculator having the suitable function.  
           [0003]    There is also one kind of commercially available calculators capable of recording all the operation processes of a user. However, they cannot let the user record only the desired items and perform summary and calculation. Moreover, they will consume much memory capacity for recording all the calculation processes, hence increasing the cost. If the user only wants to know each piece of subtotal and calculate the surplus without the need of checking the calculation processes, the above calculators are not applicable. Accordingly, the present invention designs a method capable of letting a calculator have both the functions of accounts check and surplus calculation.  
         SUMMARY OF THE INVENTION  
         [0004]    One object of the present invention is to provide a method capable of letting a calculator have both the functions of accounts check and surplus calculation, whereby a user can selectively record data of the desired items and store them into a memory so that the user can enter into a summary mode to check each piece of data one by one for use of accounting of one day or one week. Moreover, each piece of data in the memory can be summed up. Thereby, the user can have both the functions of accounts check and surplus calculation with the memory space used most economically, hence enhancing the convenience of use.  
           [0005]    To achieve the above object, the present invention provides a method capable of letting a calculator have both the functions of accounts check and surplus calculation, wherein software program, inputted temporary calculation data and data of the desired items selectively recorded by the user are stored in a memory of the calculator, and a key for a summary function is matched so that the user can enter into a summary mode to check each piece of subtotal data one by one for use of accounting. Moreover, each piece of data in the memory can be summed up.  
           [0006]    The various objects and advantages of the present invention will be more readily understood from the following detailed description when read in conjunction with the appended drawing, in which: 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0007]    [0007]FIG. 1 is an architecture diagram of a calculator of the present invention;  
         [0008]    [0008]FIG. 2 is a perspective view of a calculator of the present invention;  
         [0009]    [0009]FIG. 3 is a flowchart for saving summary data of the present invention;  
         [0010]    [0010]FIG. 4 is a flowchart for clearing data of the present invention;  
         [0011]    [0011]FIG. 5 is a flowchart for switching the summary and calculation modes of the present invention;  
         [0012]    [0012]FIG. 6 is a flowchart for data inquiry of the present invention;  
         [0013]    [0013]FIG. 7 is a flowchart for clearing data one by one and confirming data of the present invention;  
         [0014]    [0014]FIG. 8 is a flowchart for inserting items of the present invention; and  
         [0015]    [0015]FIG. 9 is a flowchart for data summary and printing of the present invention. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0016]    As shown in FIG. 1, a calculator of the present invention comprises a liquid crystal screen  1 , a microprocessor  2 , a memory  3 , and input keys  4 . The liquid crystal screen  1  is used for looking up of user. The microprocessor  2  is used to process and operate data. The memory is used to store software program used by the calculator, inputted temporary calculation data and data of the desired items selectively recorded by an operator. The input keys  4  are used for data input of user. The input keys  4  have a key set for performing the summary function provided for the operator. The key set comprises a summary key  41 , a mode key  42 , inquiry keys (↑, ↓)  43  and  44 , a clear key (C)  45 , an insertion key (+)  46 , a data summary operation key (=)  47 , and a print key  48 , as shown in FIG. 2.  
         [0017]    The user can arbitrarily select data of the desired item and store it into the memory  3  so that the user can enter into a summary mode to check each piece of subtotal data one by one for use of accounting of: one day or one week. Moreover, he can sum up each piece of data in the memory  3 . Thereby, the user can have both the functions of accounts check and surplus calculation with the memory space used most economically, hence enhancing the convenience of use. The above summary key  41  has the following functions.  
         [0018]    1. When the user wants to record a piece of subtotal data, pressing of this key will record the present data into the memory, and a summary icon will be displayed on the liquid crystal screen, representing there is data stored in the memory.  
         [0019]    2. When the user wants to clear all data in the memory, he first presses the mode key to enter into the summary mode and then presses the summary key for 3 seconds to perform the operation of complete clearing.  
         [0020]    3. After entering into the summary mode, the item will be displayed before each piece of data to facilitate inquiry of user.  
         [0021]    The above mode key  42  has the following functions.  
         [0022]    1. It is used to switch between a calculation mode and the summary mode.  
         [0023]    2. When entering into the summary mode, the summary icon on the liquid crystal screen will continually blink to inform the user.  
         [0024]    3. When the user enters into the summary mode for the first time, the first piece of data will be displayed. After leaving and entering into the summary mode again, the displayed item will be the item displayed at the previous time he leaves the summary mode. Therefore, if the user finds there is doubt about a certain piece of data, he can first switch to the calculation mode for calculation again and then switch back to the summary mode for double check.  
         [0025]    The above inquiry keys  43  and  44  have the following function:  
         [0026]    In the summary mode, these two keys can be used to inquire each piece of data up and down.  
         [0027]    The above clear key (C)  45  has the following function:  
         [0028]    In the summary mode, the displayed piece of data will be cleared.  
         [0029]    The above insertion key (+)  46  has the following function:  
         [0030]    In the summary mode, an item can be inserted in front of the currently displayed item. After data input, this piece of inserted data will be recorded into the memory when leaving this item or directly leaving the summary mode.  
         [0031]    The above summary operation key (=)  47  has the following function:  
         [0032]    In the summary mode, all recorded data will be summed up and the result will be displayed on the liquid crystal screen.  
         [0033]    The above print key (#)  48  has the following function:  
         [0034]    In the summary mode, when this key is pressed, each piece of subtotal data and the calculated total sum (this function is only limited to a print mode) will be printed one by one.  
         [0035]    [0035]FIG. 3 is a flowchart of save summary data of the present invention.  
         [0036]    Step  31 : The calculation mode is entered into.  
         [0037]    Step  32 : Whether the user keys in a subtotal data is determined. If the answer is negative, this step is repeated; otherwise, Step  321  is jumped to for displaying and operating this data and then Step  33  is jumped to.  
         [0038]    Step  33 : Whether the user presses the summary key is determined. If the answer is negative, Step  32  is jumped back to; otherwise, Step  34  is jumped to.  
         [0039]    Step  34 : Whether the memory is full is determined. If the answer is negative, Step  341  is jumped to for recording the currently displayed data into the memory and displaying the summary icon on the liquid crystal screen; otherwise, Step  342  is jumped to for blinking the summary icon for 3 seconds and displaying an error icon with this data not being stored into the memory. Step  35  is then jumped to.  
         [0040]    Step  35 : Whether the clear key is to be keyed in to clear all data in the memory is determined. If the answer is positive, Step  32  is jumped back to; otherwise, Step  342  is jumped to.  
         [0041]    [0041]FIG. 4 is a flowchart for clearing data of the present invention.  
         [0042]    Step  41 : The calculation mode is entered into.  
         [0043]    Step  42 : Whether the user presses the mode key is determined. If the answer is negative, Step  41  is jumped back to; otherwise, Step  43  is jumped to.  
         [0044]    Step  43 : Whether there are some data recorded in the memory is determined. If the answer is negative, Step  41  is jumped back to; otherwise, Step  431  is jumped to for entering into the summary mode and Step  44  is then jumped to.  
         [0045]    Step  44 : Whether the summary key is pressed for 3 seconds is determined. If the answer is negative, Step  431  is jumped back to; otherwise, Step  45  is jumped to for clearing all data in the memory and switching off the summary icon on the liquid crystal screen.  
         [0046]    [0046]FIG. 5 is a flowchart for switching between the summary and calculation modes of the present invention.  
         [0047]    Step  51 : The calculation mode is entered into.  
         [0048]    Step  52 : Whether the user presses the mode key is determined. If the answer is negative, Step  51  is jumped back to; otherwise, Step  53  is jumped to.  
         [0049]    Step  53 : Whether there are some data stored in the memory is determined. If the answer is negative, Step.  51  is jumped back to; otherwise, Step  54  is jumped to.  
         [0050]    Step  54 : Whether the user enters into the summary mode at the first item of data is determined. If the answer is positive, Step  541  is jumped to for switching to the summary mode, displaying this item of data and blinking the summary icon, and Step  55  is then jumped to; otherwise, Step  542  is jumped to for switching to the summary mode, displaying an item of data displayed at the previous time he leaves the summary mode and blinking the summary icon, and Step  55  is then jumped to.  
         [0051]    Step  55 : Whether the user presses the mode key is determined. If the answer is positive, Step  551  is jumped to for switching to the calculation mode, returning to the status the last time he leaves the calculation mode and stopping blinking the summary icon; otherwise, Step  552  is jumped to for keeping at the summary mode without changing the display.  
         [0052]    [0052]FIG. 6 is a flowchart for data inquiry of the present invention.  
         [0053]    Step  61 : The summary mode is entered into.  
         [0054]    Step  62 : Whether the user presses the up inquiry key is determined. If the answer is negative, Step  64  is jumped to; otherwise, Step  63  is jumped to.  
         [0055]    Step  63 : Whether this is the first item of data is determined. If the answer is positive, Step  631  is jumped to for displaying the last item of data, and Step  64  is jumped to; otherwise, Step  632  is jumped to for displaying the previous item of data, and Step  64  is then jumped to.  
         [0056]    Step  64 : Whether the user presses the down inquiry key is determined. If the answer is negative, Step  631  is jumped back to; otherwise, Step  65  is jumped to.  
         [0057]    Step  65 : Whether this is the last item of data is determined. If the answer is positive, Step  651  is jumped to for displaying the first item of data, and Step  62  is then jumped back to; otherwise, Step  652  is jumped to for displaying the next item of data, and Step  62  is then jumped back to.  
         [0058]    [0058]FIG. 7 is a flowchart for clearing data one by one and confirming data of the present invention.  
         [0059]    Step  71 : The summary mode is entered into.  
         [0060]    Step  72 : Whether the user presses the clear key is determined. If the answer is negative, Step  72  is repeated; otherwise, Step  721  is jumped to for setting this item of data to zero, and Step  73  is then jumped to.  
         [0061]    Step  73 : Whether the user keys in a piece of data is determined. If the answer is positive, Step  731  is jumped to for displaying the keyed-in data, and Step  76  is then jumped to; otherwise, Step  74  is jumped to.  
         [0062]    Step  74 : Whether the user presses the up or down inquiry key is determined. If the answer is positive, Step  741  is jumped to for clearing that item of data; otherwise, Step  75  is jumped to.  
         [0063]    Step  75 : Whether the user presses the mode key is determined. If the answer is negative, Step  721  is jumped back to; otherwise, Step  751  is jumped to for clearing this item of data and switching to the calculation mode.  
         [0064]    Step  76 : Whether presses the up or down inquiry key is determined. If the answer is positive Step  761  is jumped to for confirming that item of data; otherwise, Step  77  is jumped to.  
         [0065]    Step  77 : Whether the user presses the mode key is determined. If the answer is negative, Step  731  is jumped back to; otherwise, Step  771  is jumped to for confirming this item of data and switching to the calculation mode.  
         [0066]    [0066]FIG. 8 is a flowchart for inserting items of the present invention.  
         [0067]    Step  81 : The summary mode is entered into.  
         [0068]    Step  82 : Whether the user presses the insertion key is determined. If the answer is negative, Step  81  is jumped back to; otherwise, Step  83  is jumped to  
         [0069]    Step  83 : Whether the memory is full is determined. If the answer is positive, Step  831  is jumped to for keeping this item of data and displaying an error icon; otherwise, Step  832  is jumped to for inserting a new item of data in front of the currently displayed item of data and blinking the “0” icon, and Step  84  is then jumped to.  
         [0070]    Step  84 : Whether an item of data is keyed in is determined. If the answer is positive, Step  841  is jumped to for displaying this item of data, and Step  87  is then jumped to; otherwise, Step  85  is jumped to.  
         [0071]    Step  85 : Whether the user presses the up or down inquiry key is determined. If the answer is positive, Step  851  is jumped to for canceling the insertion; otherwise, Step  86  is jumped to.  
         [0072]    Step  86 : Whether the user presses the mode key is determined. If the answer is positive, Step  861  is jumped to for canceling the insertion and switching to the calculation mode; otherwise, Step  832  is jumped back to.  
         [0073]    Step  87 : Whether the user presses the up or down inquiry key is determined.  
         [0074]    If the answer is positive, Step  871  is jumped to for jumping back to the 15 last/next item of data and finishing the insertion; otherwise, Step  88  is jumped to.  
         [0075]    Step  88 : Whether the user presses the mode key is determined. If the answer is positive, Step  881  is jumped to for finishing the insertion and switching to the calculation mode; otherwise, Step  841  is jumped back to.  
         [0076]    [0076]FIG. 9 is a flowchart for data summary and print of the present invention.  
         [0077]    Step  91 : The summary mode is entered into.  
         [0078]    Step  92 : Whether the user presses the data summary operation key is determined. If the answer is negative, Step  91  is jumped back to; otherwise, Step  921  is jumped to for summing up all the data and displaying the result on the screen, and Step  93  is then jumped to.  
         [0079]    Step  93 : Whether there is a print machine is determined. If the answer is negative, Step  931  is jumped to for displaying the message “there is no print function”; otherwise, Step  94  is jumped to.  
         [0080]    Step  94 : Whether the user presses the print key is determined. If the answer is negative, Step  921  is jumped back to; otherwise, Step  941  is jumped to for printing each piece of subtotal data one by one and the calculated total sum.  
         [0081]    To sum up, through the added summary function of the present invention, the user can have both the functions of accounts check and surplus calculation with the memory space used most economically, hence enhancing the convenience of use.  
         [0082]    Although the present invention has been described with reference to the preferred embodiment thereof, it will be understood that the invention is not limited to the details thereof. Various substitutions and modifications have been suggested in the foregoing description, and other will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the invention as defined in the appended claims.