Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7601063B2 - Input support device, input support method and program - Google Patents
[go: Go Back, main page]

JP7601063B2 - Input support device, input support method and program - Google Patents

Input support device, input support method and program Download PDF

Info

Publication number
JP7601063B2
JP7601063B2 JP2022109378A JP2022109378A JP7601063B2 JP 7601063 B2 JP7601063 B2 JP 7601063B2 JP 2022109378 A JP2022109378 A JP 2022109378A JP 2022109378 A JP2022109378 A JP 2022109378A JP 7601063 B2 JP7601063 B2 JP 7601063B2
Authority
JP
Japan
Prior art keywords
formula
display
error
input
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022109378A
Other languages
Japanese (ja)
Other versions
JP2024007937A (en
Inventor
健登 北村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2022109378A priority Critical patent/JP7601063B2/en
Priority to CN202310821652.0A priority patent/CN117370259A/en
Publication of JP2024007937A publication Critical patent/JP2024007937A/en
Application granted granted Critical
Publication of JP7601063B2 publication Critical patent/JP7601063B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0225User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0216Constructional details or arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Calculators And Similar Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、入力支援装置、入力支援方法及びプログラムに関する。 The present invention relates to an input support device, an input support method, and a program.

従来、数式の入力を受け付けて演算する関数電卓が知られている。関数電卓は、入力した数式に構文エラーがある場合に、エラー箇所を表示するものが知られている。例えば、入力された数式のエラー箇所を通常表示からアンダーライン及び太字の強調表示に変更し、エラー箇所以外の箇所を通常表示する電子計算機が知られている(特許文献1参照)。 Scientific calculators that accept input of mathematical expressions and perform calculations are known. Scientific calculators that display the location of an error if there is a syntax error in the input mathematical expression are known. For example, there is a known electronic calculator that changes the normal display of an error in an input mathematical expression to an underlined and bold highlighted display, and displays the rest of the expression normally (see Patent Document 1).

特開2011-107772号公報JP 2011-107772 A

しかし、特許文献1に記載の電子計算機では、強調表示する情報が表示画面内で混み合い、逆にエラー箇所が見づらくなり、直観的にも分かりづらくなるおそれがあった。 However, in the electronic computer described in Patent Document 1, the highlighted information becomes too crowded on the display screen, which can make the location of the error difficult to see and difficult to understand intuitively.

本発明の課題は、エラー箇所を見やすくしつつ、直観的に分かりやすく表示することである。 The objective of this invention is to display the error location in an intuitive and easy-to-understand manner while making it easy to see.

上記課題を解決するために、本発明に係る入力支援装置は、入力された数式を対象にして数式のエラー箇所を検出する検出手段と、前記検出手段によりエラー箇所が検出された場合に、入力位置を示すカーソルを前記エラー箇所に対応する位置に表示させるとともに前記エラー箇所に対応する修正候補を前記数式とは異なる行に表示させ、且つ、前記数式における前記エラー箇所の表示コントラストを維持したままで前記数式における他の箇所の表示コントラストを低下させる表示制御手段と、を備え、前記表示制御手段は、前記数式の背景の表示濃度と前記エラー箇所での数式の表示濃度とを変化させずに前記他の箇所での数式の表示濃度を前記数式の背景の表示濃度に近づけることにより、前記エラー箇所の表示コントラストを維持したままで前記他の箇所の表示コントラストを低下させ、且つ、前記カーソルを前記エラー箇所に対応する位置に表示させている間、前記修正候補が非選択状態として識別可能なように、前記修正候補の表示コントラストを前記数式における前記他の箇所の表示コントラストよりも更に低下させた状態で表示させる、ことを特徴とする。
また、本発明に係る入力支援方法は、入力支援装置が実行する入力支援方法であって、入力された数式を対象にして数式のエラー箇所を検出する検出工程と、前記検出工程においてエラー箇所が検出された場合に、入力位置を示すカーソルを前記エラー箇所に対応する位置に表示させるとともに前記エラー箇所に対応する修正候補を前記数式とは異なる行に表示させ、且つ、前記数式における前記エラー箇所の表示コントラストを維持したままで前記数式における他の箇所の表示コントラストを低下させる表示制御工程と、を含み、前記表示制御工程は、前記数式の背景の表示濃度と前記エラー箇所での数式の表示濃度とを変化させずに前記他の箇所での数式の表示濃度を前記数式の背景の表示濃度に近づけることにより、前記エラー箇所の表示コントラストを維持したままで前記他の箇所の表示コントラストを低下させ、且つ、前記カーソルを前記エラー箇所に対応する位置に表示させている間、前記修正候補が非選択状態として識別可能なように、前記修正候補の表示コントラストを前記数式における前記他の箇所の表示コントラストよりも更に低下させた状態で表示させる、ことを特徴とする。
また、本発明に係るプログラムは、コンピュータを、入力された数式を対象にして数式のエラー箇所を検出する検出手段、前記検出手段によりエラー箇所が検出された場合に、入力位置を示すカーソルを前記エラー箇所に対応する位置に表示させるとともに前記エラ
ー箇所に対応する修正候補を前記数式とは異なる行に表示させ、且つ、前記数式における前記エラー箇所の表示コントラストを維持したままで前記数式における他の箇所の表示コントラストを低下させる表示制御手段、として機能させ、前記表示制御手段は、前記数式の背景の表示濃度と前記エラー箇所での数式の表示濃度とを変化させずに前記他の箇所での数式の表示濃度を前記数式の背景の表示濃度に近づけることにより、前記エラー箇所の表示コントラストを維持したままで前記他の箇所の表示コントラストを低下させ、且つ、前記カーソルを前記エラー箇所に対応する位置に表示させている間、前記修正候補が非選択状態として識別可能なように、前記修正候補の表示コントラストを前記数式における前記他の箇所の表示コントラストよりも更に低下させた状態で表示させる、ことを特徴とする。
In order to solve the above problem, an input support device according to the present invention comprises a detection means for detecting an error in an input formula, and a display control means for, when an error is detected by the detection means, displaying a cursor indicating an input position at a position corresponding to the error position and displaying a correction candidate corresponding to the error position on a line different from the formula, and lowering the display contrast of other portions in the formula while maintaining the display contrast of the error position in the formula, wherein the display control means lowers the display contrast of the other portions while maintaining the display contrast of the error position by bringing the display density of the formula at the other portions closer to the display density of the background of the formula without changing the display density of the background of the formula and the display density of the formula at the error position, and displays the display contrast of the correction candidate in a state where it is further lowered than the display contrast of the other portions in the formula so that the correction candidate is identifiable as being in a non-selected state while the cursor is displayed at the position corresponding to the error position .
Further, an input support method according to the present invention is an input support method executed by an input support device, and includes a detection step of detecting an error location in an input formula, and a display control step of, when an error location is detected in the detection step, displaying a cursor indicating an input position at a position corresponding to the error location and displaying a correction candidate corresponding to the error location on a line different from the formula, and lowering the display contrast of other locations in the formula while maintaining the display contrast of the error location in the formula , wherein the display control step lowers the display contrast of the other locations while maintaining the display contrast of the error location by bringing the display density of the formula at the other locations closer to the display density of the background of the formula without changing the display density of the background of the formula and the display density of the formula at the error location, and displays the display contrast of the correction candidate in a state further lowered than the display contrast of the other locations in the formula so that the correction candidate can be identified as in a non-selected state while the cursor is displayed at the position corresponding to the error location .
The program according to the present invention also includes a program for causing a computer to include a detection unit for detecting an error in an input formula, and when an error is detected by the detection unit, a cursor indicating an input position is displayed at a position corresponding to the error, and the error is corrected.
the display control means functions as a display control means for displaying a correction candidate corresponding to a certain error location on a line different from that of the formula, and for lowering the display contrast of other locations in the formula while maintaining the display contrast of the error location in the formula, the display control means lowering the display contrast of the other locations while maintaining the display contrast of the error location by bringing the display density of the formula at the other locations closer to the display density of the background of the formula without changing the display density of the background of the formula and the display density of the formula at the error location, and displaying the display contrast of the correction candidate in a state where it is further lowered than the display contrast of the other locations in the formula so that the correction candidate can be identified as being in a non-selected state while the cursor is displayed at a position corresponding to the error location .

本発明によれば、エラー箇所を見やすくできつつ、直観的に分かりやすく表示できる。 The present invention makes it possible to display the location of errors in an easy-to-see and intuitive manner.

本発明の実施の形態の電子卓上計算機の正面図である。1 is a front view of an electronic desk calculator according to an embodiment of the present invention; 電子卓上計算機の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of the electronic desk calculator. 第1の演算表示処理を示すフローチャートである。11 is a flowchart showing a first calculation and display process. (a)は、実施の形態の第1の具体例の表示画面を示す図である。(b)は、実施の形態の第1の具体例の表示画面を示す図である。(c)は、実施の形態の第1の具体例の表示画面を示す図である。(d)は、実施の形態の第1の具体例の表示画面を示す図である。(e)は、実施の形態の第1の具体例の表示画面を示す図である。1A is a diagram showing a display screen of a first specific example of an embodiment; FIG. 1B is a diagram showing a display screen of a first specific example of an embodiment; FIG. 1C is a diagram showing a display screen of a first specific example of an embodiment; FIG. 1D is a diagram showing a display screen of a first specific example of an embodiment; FIG. 1E is a diagram showing a display screen of a first specific example of an embodiment. (a)は、実施の形態の第2の具体例の表示画面を示す図である。(b)は、実施の形態の第2の具体例の表示画面を示す図である。(c)は、実施の形態の第2の具体例の表示画面を示す図である。(d)は、実施の形態の第2の具体例の表示画面を示す図である。(e)は、実施の形態の第2の具体例の表示画面を示す図である。1A is a diagram showing a display screen of a second specific example of an embodiment; FIG. 1B is a diagram showing a display screen of a second specific example of an embodiment; FIG. 1C is a diagram showing a display screen of a second specific example of an embodiment; FIG. 1D is a diagram showing a display screen of a second specific example of an embodiment; FIG. 1E is a diagram showing a display screen of a second specific example of an embodiment; 第2の演算表示処理を示すフローチャートである。13 is a flowchart showing a second calculation and display process. (a)は、第1の変形例の表示画面を示す図である。(b)は、第1の変形例の表示画面を示す図である。(c)は、第1の変形例の表示画面を示す図である。(d)は、第1の変形例の表示画面を示す図である。(e)は、第1の変形例の表示画面を示す図である。1A is a diagram showing a display screen of a first modified example; 1B is a diagram showing a display screen of a first modified example; 1C is a diagram showing a display screen of a first modified example; 1D is a diagram showing a display screen of a first modified example; 1E is a diagram showing a display screen of a first modified example; (a)は、第1の変形例の表示画面を示す図である。(b)は、第1の変形例の表示画面を示す図である。(c)は、第1の変形例の表示画面を示す図である。1A is a diagram showing a display screen of a first modified example, FIG. 1B is a diagram showing a display screen of a first modified example, and FIG. 1C is a diagram showing a display screen of a first modified example. 第3の演算表示処理を示すフローチャートである。13 is a flowchart showing a third calculation and display process. (a)は、第2の変形例の第1の具体例の表示画面を示す図である。(b)は、第2の変形例の第1の具体例の表示画面を示す図である。(c)は、第2の変形例の第1の具体例の表示画面を示す図である。(d)は、第2の変形例の第1の具体例の表示画面を示す図である。(e)は、第2の変形例の第1の具体例の表示画面を示す図である。(f)は、第2の変形例の第1の具体例の表示画面を示す図である。1A is a diagram showing a display screen of a first specific example of the second modified example; FIG. 1B is a diagram showing a display screen of the first specific example of the second modified example; FIG. 1C is a diagram showing a display screen of the first specific example of the second modified example; FIG. 1D is a diagram showing a display screen of the first specific example of the second modified example; FIG. 1E is a diagram showing a display screen of the first specific example of the second modified example; and FIG. 1F is a diagram showing a display screen of the first specific example of the second modified example. (a)は、第2の変形例の第2の具体例の表示画面を示す図である。(b)は、第2の変形例の第2の具体例の表示画面を示す図である。(c)は、第2の変形例の第2の具体例の表示画面を示す図である。(d)は、第2の変形例の第2の具体例の表示画面を示す図である。1A is a diagram showing a display screen of a second specific example of the second modified example; FIG. 1B is a diagram showing a display screen of a second specific example of the second modified example; FIG. 1C is a diagram showing a display screen of a second specific example of the second modified example; and FIG. 1D is a diagram showing a display screen of a second specific example of the second modified example.

以下、添付図面を参照して本発明に係る実施の形態及び第1、第2の変形例を順に詳細に説明する。なお、以下に述べる実施の形態及び第1、第2の変形例には、本発明を実施するために技術的に好ましい種々の限定が付されているが、本発明の範囲を以下の実施の形態、第1、第2の変形例及び図示例に限定するものではない。 The embodiment and the first and second modified examples of the present invention will be described in detail below with reference to the attached drawings. Note that the embodiment and the first and second modified examples described below are subject to various limitations that are technically preferable for implementing the present invention, but the scope of the present invention is not limited to the embodiment, the first and second modified examples, and the illustrated examples described below.

(実施の形態)
図1~図5(e)を参照して、本発明に係る実施の形態を説明する。まず、図1及び図2を参照して、本実施の形態の装置構成を説明する。図1は、本実施の形態の電子卓上計算機1の正面図である。図2は、電子卓上計算機1の機能構成を示すブロック図である。
(Embodiment)
An embodiment of the present invention will be described with reference to Figures 1 to 5(e). First, the device configuration of this embodiment will be described with reference to Figures 1 and 2. Figure 1 is a front view of an electronic desk calculator 1 of this embodiment. Figure 2 is a block diagram showing the functional configuration of the electronic desk calculator 1.

本実施の形態の入力支援装置としての電子卓上計算機1は、いわゆる関数電卓であるものとする。図1に示すように、電子卓上計算機1は、各種キー群を有する操作部12と、表示部14と、を備える。 The electronic desk calculator 1 serving as the input support device in this embodiment is a so-called scientific calculator. As shown in FIG. 1, the electronic desk calculator 1 includes an operation unit 12 having various keys and a display unit 14.

操作部12は、ユーザから数値や計算記号などの数式構成要素の入力操作を受けたり、各種処理の指示操作を受けたりするためのキー群であり、それぞれ固有の機能を割り当てられた複数のキーを備える。本実施の形態において、操作部12は、テンキー20a、演算キー20b、修正キー20c、関数キー20d、上矢印キー21、下矢印キー22、右矢印キー23、左矢印キー24、決定キー25、「=」キー26、各種の機能キー20eなどを含む。 The operation unit 12 is a group of keys for receiving input operations of numerical values, calculation symbols, and other mathematical components from the user, and for receiving instructions for various processes, and is equipped with a number of keys to which a unique function is assigned, respectively. In this embodiment, the operation unit 12 includes a numeric keypad 20a, calculation keys 20b, correction keys 20c, function keys 20d, an up arrow key 21, a down arrow key 22, a right arrow key 23, a left arrow key 24, a decision key 25, an "=" key 26, various function keys 20e, and the like.

テンキー20aは、数値の入力を受け付けるキーであり、「0」キー~「9」キーを有する。演算キー20bは、演算子の入力を受け付けるキーであり、「+」キー、「-」キー、「×」キー、「÷」キーを有する。修正キー20cは、表示中の数値、数式の修正の入力を受け付けるキーであり、1文字の削除の入力を受け付けるDEL(Delete)キー、全削除の入力を受け付けるAC(All Clear)キーを有する。関数キー20dは、各種の関数の入力を受け付けるキーである。 The numeric keypad 20a is used to input numeric values and includes the "0" to "9" keys. The calculation keys 20b are used to input operators and include the "+", "-", "x" and "÷" keys. The correction keys 20c are used to input corrections to displayed numeric values and formulas and include a DEL (Delete) key to delete a single character and an AC (All Clear) key to delete all. The function keys 20d are used to input various functions.

また、上矢印キー21、下矢印キー22、右矢印キー23及び左矢印キー24は、表示部14内で編集対象位置や選択対象位置や、それらの位置を示すカーソルを所定の各方向に移動させる場合などに押下されるキーであり、これらのキーを総称してカーソルキーと呼ぶ。 The up arrow key 21, down arrow key 22, right arrow key 23, and left arrow key 24 are keys that are pressed when moving the position to be edited or selected on the display unit 14, or the cursor indicating these positions, in a predetermined direction, and these keys are collectively referred to as cursor keys.

決定キー25は、表示部14に表示された表示情報に関する選択、遷移などの各種処理の決定(OK)の入力を受け付けるキーである。「=」キー26は、表示部14に表示された数式の等号の入力を受け付けるキーであり、数式の演算の実行指示(演算指示)の入力を受け付ける実行キーとして機能する。 The decision key 25 is a key that accepts input of decision (OK) for various processes such as selection and transition related to the display information displayed on the display unit 14. The "=" key 26 is a key that accepts input of an equal sign in a mathematical formula displayed on the display unit 14, and functions as an execution key that accepts input of an instruction to execute a mathematical calculation (calculation instruction).

機能キー20eは、各種機能の入力を受け付けるキーであり、シフトキー、メニューキー、電源キーなどを含む。 The function keys 20e are keys that accept input of various functions, and include a shift key, menu key, power key, etc.

表示部14は、ドットマトリクス方式のLCD(Liquid Crystal Display)などの表示パネルにより構成されており、操作部12などの操作に応じた文字や符号、記号、数式、演算結果などの各種データを背景の白地上に表示する表示部である。本実施の形態において、表示部14は、表示態様として、白地に、黒、ダークグレー、ライトグレー、白(表示なし)の4つの階調(表示濃度、グレースケールの色)での情報の表示が可能である。以下、「背景の白地に黒」を単に「黒」と表現し、「背景の白地にダークグレー」を単に「ダークグレー」と表現し、「背景の白地にライトグレー」を単に「ライトグレー」と表現するものとする。なお、表示部14の表示態様の階調数は、3、又は5以上としてもよい。 The display unit 14 is composed of a display panel such as a dot-matrix LCD (Liquid Crystal Display), and displays various data such as characters, codes, symbols, formulas, and calculation results in response to operations of the operation unit 12, etc., on a white background. In this embodiment, the display unit 14 is capable of displaying information in four gradations (display density, grayscale color) on a white background: black, dark gray, light gray, and white (no display). Hereinafter, "black on a white background" will be simply expressed as "black", "dark gray on a white background" will be simply expressed as "dark gray", and "light gray on a white background" will be simply expressed as "light gray". The number of gradations in the display mode of the display unit 14 may be 3 or 5 or more.

表示部14における表示態様(4つの階調)について、情報(文字)の表示濃度が薄くなる(黒→白)ほど、より抑制的な表示態様であるものとして表現する。つまり、背景の白地に対する文字の表示色のコントラスト(表示濃度の差分)が低くなるほど、当該文字の表示態様(コントラスト)が、より抑制的であるものとして表現する。なお、操作部12は、表示部14の表示パネル上に一体的に設けられて、タッチ入力を受け付けるタッチパネルを含む構成としてもよい。 Regarding the display mode (four gradations) on the display unit 14, the lighter the display density of the information (characters) (black → white), the more restrained the display mode is expressed. In other words, the lower the contrast (difference in display density) of the display color of the characters against the white background, the more restrained the display mode (contrast) of the characters is expressed. Note that the operation unit 12 may be integrally provided on the display panel of the display unit 14 and may include a touch panel that accepts touch input.

ついで、図2を参照して、電子卓上計算機1の内部の機能構成を説明する。図2に示すように、電子卓上計算機1は、検出手段、表示制御手段としてのCPU(Central Processing Unit)11と、操作部12と、RAM(Random Access Memory)13と、表示部14と、記憶部15と、を備える。電子卓上計算機1の各部は、バス16を介して接続されている。 Next, the internal functional configuration of the electronic desk calculator 1 will be described with reference to FIG. 2. As shown in FIG. 2, the electronic desk calculator 1 includes a CPU (Central Processing Unit) 11 as a detection means and display control means, an operation unit 12, a RAM (Random Access Memory) 13, a display unit 14, and a storage unit 15. The various parts of the electronic desk calculator 1 are connected via a bus 16.

CPU11は、電子卓上計算機1の各部を制御する。CPU11は、記憶部15に記憶された各種プログラムのうち指定されたプログラムを読み出してRAM13に展開し、展開されたプログラムとの協働で、各種処理を実行する。 The CPU 11 controls each part of the electronic desk calculator 1. The CPU 11 reads out a specified program from among the various programs stored in the memory unit 15, expands it in the RAM 13, and executes various processes in cooperation with the expanded program.

操作部12は、テンキー20a、演算キー20b、修正キー20c、関数キー20d、カーソルキー(上矢印キー21、下矢印キー22、右矢印キー23、左矢印キー24)、決定キー25、「=」キー26、各種の機能キー20eなどの複数の各種キーを有し、各種キーを介するユーザからの押下の操作入力を受け付け、その操作情報をCPU11に出力する。 The operation unit 12 has a number of keys such as a numeric keypad 20a, calculation keys 20b, correction keys 20c, function keys 20d, cursor keys (up arrow key 21, down arrow key 22, right arrow key 23, left arrow key 24), decision key 25, "=" key 26, and various function keys 20e, and accepts operation input from the user via the various keys and outputs the operation information to the CPU 11.

RAM13は、情報を読み出し及び書き込み可能な揮発性の半導体メモリであり、CPU11に作業用のワークエリアを提供し、データ及びプログラムを一時的に記憶する。 RAM 13 is a volatile semiconductor memory that can read and write information, provides a work area for CPU 11, and temporarily stores data and programs.

表示部14は、CPU11などから入力される各種の表示情報を、4つの階調の表示態様で表示パネルの表示画面に表示する。 The display unit 14 displays various display information input from the CPU 11 and the like on the display screen of the display panel in four gradation display modes.

記憶部15は、ROM(Read Only Memory)などにより構成され、情報の読み出しが可能な記憶部であり、各種データ及び各種プログラムを記憶している。特に、記憶部15は、後述する第1の演算表示処理を実行するための第1の演算表示プログラムP1を記憶する。 The storage unit 15 is a storage unit that is configured with a ROM (Read Only Memory) or the like, is capable of reading out information, and stores various data and programs. In particular, the storage unit 15 stores a first calculation display program P1 for executing a first calculation display process described below.

つぎに、図3~図5(e)を参照して、電子卓上計算機1の動作を説明する。図3は、第1の演算表示処理を示すフローチャートである。図4(a)は、第1の具体例の表示画面30aを示す図である。図4(b)は、第1の具体例の表示画面30bを示す図である。図4(c)は、第1の具体例の表示画面30cを示す図である。図4(d)は、第1の具体例の表示画面30dを示す図である。図4(e)は、第1の具体例の表示画面30eを示す図である。図5(a)は、第2の具体例の表示画面40aを示す図である。図5(b)は、第2の具体例の表示画面40bを示す図である。図5(c)は、第2の具体例の表示画面40cを示す図である。図5(d)は、第2の具体例の表示画面40dを示す図である。図5(e)は、第2の具体例の表示画面40eを示す図である。 Next, the operation of the electronic desk calculator 1 will be described with reference to Figs. 3 to 5(e). Fig. 3 is a flowchart showing the first calculation display process. Fig. 4(a) is a diagram showing a display screen 30a of the first specific example. Fig. 4(b) is a diagram showing a display screen 30b of the first specific example. Fig. 4(c) is a diagram showing a display screen 30c of the first specific example. Fig. 4(d) is a diagram showing a display screen 30d of the first specific example. Fig. 4(e) is a diagram showing a display screen 30e of the first specific example. Fig. 5(a) is a diagram showing a display screen 40a of the second specific example. Fig. 5(b) is a diagram showing a display screen 40b of the second specific example. Fig. 5(c) is a diagram showing a display screen 40c of the second specific example. Fig. 5(d) is a diagram showing a display screen 40d of the second specific example. Fig. 5(e) is a diagram showing a display screen 40e of the second specific example.

電子卓上計算機1において、例えば、操作部12の機能キー20eの電源キーが入力されて電源オンされたことをトリガとして、CPU11は、第1の演算表示プログラムP1を記憶部15から読み出し、読み出した第1の演算表示プログラムP1に従い、第1の演算表示処理を実行する。 In the electronic desk calculator 1, for example, when the power key of the function key 20e of the operation unit 12 is pressed to turn the power on, the CPU 11 reads the first calculation display program P1 from the memory unit 15 and executes the first calculation display process according to the first calculation display program P1 that has been read.

まず、CPU11は、操作部12を介して、ユーザからの数式の入力を受け付け、入力された数式を表示部14に黒で表示する(ステップS11)。ステップS11において、数式入力の表示画面では、入力箇所に黒のカーソルが点滅表示されているものとする。そして、CPU11は、数式の入力の終わりでかつ演算指示を意味する「=」キー26が押下入力されたか否かを判別する(ステップS12)。「=」キー26が入力されていない場合(ステップS12;NO)、ステップS11に移行される。 First, the CPU 11 accepts input of a formula from the user via the operation unit 12, and displays the input formula in black on the display unit 14 (step S11). In step S11, a black cursor is blinking at the input location on the display screen for formula input. The CPU 11 then determines whether or not the "=" key 26, which indicates the end of input of the formula and an instruction to perform a calculation, has been pressed (step S12). If the "=" key 26 has not been pressed (step S12; NO), the process proceeds to step S11.

「=」キー26が入力された場合(ステップS12;YES)、CPU11は、表示中の数式に構文エラーがあるか否かを判別する(ステップS13)。構文エラーは、数式の構文のエラーであり、演算子の連続入力(例えば、「~÷×~」)のエラーなどである。厳密には、数式のエラーの種類は、構文エラー以外にも、演算結果が演算範囲を超える又は数学的な誤り(0で除算するなど)の計算エラーなどの他の種類のエラーもあるが、本実施の形態では、説明を簡単にするため、エラーとして構文エラーのみの判別を考えるものとする。 When the "=" key 26 is pressed (step S12; YES), the CPU 11 determines whether or not there is a syntax error in the displayed formula (step S13). A syntax error is an error in the syntax of the formula, such as an error in consecutive input of operators (for example, "~÷×~"). Strictly speaking, there are other types of errors in formulas besides syntax errors, such as calculation errors in which the calculation result exceeds the calculation range or mathematical errors (such as division by 0), but in this embodiment, for simplicity of explanation, we will consider determining only syntax errors as errors.

構文エラーがある場合(ステップS13;YES)、CPU11は、数式に構文エラーがある旨の「Syntax ERROR」と、数式表示に戻るための入力を受け付けることを示す「Back」(例えば、反転表示)とを、黒で表示部14に表示する(ステップS14)。Backの入力は、決定キー25又は「=」キー26の押下入力により受け付けるものとする。 If there is a syntax error (step S13; YES), the CPU 11 displays "Syntax ERROR" in black on the display unit 14 to indicate that there is a syntax error in the formula, and "Back" (e.g., inverted display) indicating that input to return to the formula display is accepted (step S14). Input of Back is accepted by pressing the decision key 25 or the "=" key 26.

そして、CPU11は、決定キー25又は「=」キー26を介して、ユーザから数式表示へ戻る旨の入力を受け付ける(ステップS15)。そして、CPU11は、入力された数式のうち、ステップS13で構文エラーと判別されたエラー箇所を黒で表示部14に表示し、エラー箇所以外の箇所を黒よりも抑制的なダークグレーで表示部14に表示する(ステップS16)。数式内のエラー箇所は、1つの場合だけでなく、複数の場合もあり得る。 Then, the CPU 11 accepts an input from the user via the decision key 25 or the "=" key 26 to return to the mathematical formula display (step S15). The CPU 11 then displays in black on the display unit 14 any error points in the input mathematical formula that were determined to be syntax errors in step S13, and displays the non-error points in a dark gray that is more subdued than black (step S16). There may be not only one error point in the mathematical formula, but also multiple errors.

そして、CPU11は、1番目のエラー箇所(数式内のエラー箇所が1つの場合には、その1つのエラー箇所)にカーソル「|」を移動して黒で点滅表示する(ステップS17)。そして、CPU11は、操作部12を介して、表示中の数式の修正入力を受け付ける(ステップS18)。ステップS18では、例えば、カーソルキー(上矢印キー21~左矢印キー24)の入力により、カーソルの移動入力を受け付け、修正キー20cのDELキーの入力によりエラー箇所の不要箇所の削除入力を受け付け、演算キー20bなどの入力により必要な演算子などの入力を受け付ける。 Then, the CPU 11 moves the cursor "|" to the first error location (if there is only one error location in the formula, this error location is displayed as a blinking black character (step S17). The CPU 11 then accepts input to correct the displayed formula via the operation unit 12 (step S18). In step S18, for example, input to move the cursor is accepted by input of the cursor keys (up arrow key 21 to left arrow key 24), input to delete unnecessary error locations is accepted by input of the DEL key of the correction keys 20c, and input of necessary operators, etc. is accepted by input of the calculation keys 20b, etc.

そして、CPU11は、「=」キー26が入力されたか否かを判別する(ステップS19)。「=」キー26が入力されていない場合(ステップS19;NO)、ステップS18に移行される。「=」キー26が入力された場合(ステップS19;YES)、ステップS13に移行される。 Then, the CPU 11 determines whether or not the "=" key 26 has been input (step S19). If the "=" key 26 has not been input (step S19; NO), the process proceeds to step S18. If the "=" key 26 has been input (step S19; YES), the process proceeds to step S13.

構文エラーがない場合(ステップS13;NO)、CPU11は、表示中の数式の演算を実行し、数式及び演算結果を黒で表示部14に表示し(ステップS20)、第1の演算表示処理を終了する。 If there is no syntax error (step S13; NO), the CPU 11 executes the calculation of the displayed formula, displays the formula and the calculation result in black on the display unit 14 (step S20), and ends the first calculation display process.

ここで、図4(a)~図6(e)を参照して、第1の演算表示処理の2つの具体例を説明する。第1の演算表示処理の第1の具体例として、第1の演算表示処理の開始後、図4(a)に示すように、ステップS11で例えば、数式「6÷×6」が入力され、表示画面30aが表示部14に表示された場合を考える。表示画面30aは、黒の数式「6÷×6」を有する。この数式のうち、「÷×」は、演算子が連続しており、構文エラーのエラー箇所である。 Now, with reference to Fig. 4(a) to Fig. 6(e), two specific examples of the first calculation display process will be described. As a first specific example of the first calculation display process, consider the case where, after the start of the first calculation display process, for example, the formula "6÷×6" is input in step S11 as shown in Fig. 4(a) and the display screen 30a is displayed on the display unit 14. The display screen 30a has the formula "6÷×6" in black. In this formula, "÷×" is a syntax error location, as it is a sequence of operators.

そして、ステップS12で、「=」キー26が押下入力されると、ステップS13で、表示中の数式に構文エラーがあると判別され、図4(b)に示すように、ステップS14で表示画面30bが表示される。表示画面30bは、黒の「Syntax ERROR」と、黒の反転表示の「Back」とを有する。 When the "=" key 26 is pressed in step S12, it is determined in step S13 that there is a syntax error in the displayed formula, and as shown in FIG. 4(b), the display screen 30b is displayed in step S14. The display screen 30b has "Syntax ERROR" in black and "Back" in inverted black.

そして、ステップS15で、決定キー25又は「=」キー26が押下入力されると、図4(c)に示すように、ステップS16,S17で表示画面30cが表示される。表示画面30cは、ダークグレーの「6」と、黒のエラー箇所の「÷×」と、ダークグレーの「6」とを、一連の数式として有する。また、表示画面30cにおいて、黒のカーソル「|」が、エラー箇所「÷×」の中間位置に移動されて表示されている。このため、ステップS18における修正するエラー箇所へのカーソルの大幅な移動が避けられ、エラー箇所の修正が容易となる。 Then, when the decision key 25 or the "=" key 26 is pressed in step S15, the display screen 30c is displayed in steps S16 and S17, as shown in FIG. 4(c). The display screen 30c has a dark gray "6", a black error part "÷×", and another dark gray "6" as a series of mathematical expressions. Also, on the display screen 30c, a black cursor "|" is displayed moved to the middle position of the error part "÷×". This avoids significant movement of the cursor to the error part to be corrected in step S18, making it easier to correct the error part.

そして、ステップS18で、ユーザからの右矢印キー23及び修正キー20cのDELキーの押下入力により、エラー箇所「÷×」のうちの「×」の削除の修正入力がなされ、図4(d)に示すように、表示画面30dが表示される。表示画面30dは、ダークグレーの「6」と、黒の修正後のエラー箇所の「÷」と、ダークグレーの「6」とを、一連の数式として有する。そして、ステップS19で、「=」キー26が押下入力されると、ステップS13に移行され、表示中の数式に構文エラーがないと判別され、図4(e)に示すように、ステップS20で、演算結果の表示画面30eが表示部14に表示される。表示画面30eは、黒の数式「6÷6」と、黒の演算結果「1」と、を有する。 Then, in step S18, the user presses the right arrow key 23 and the DEL key of the correction keys 20c to delete the "x" in the error part "÷x", and the display screen 30d is displayed as shown in FIG. 4(d). The display screen 30d has a series of formulas, including a dark gray "6", a black corrected error part "÷", and a dark gray "6". Then, in step S19, when the "=" key 26 is pressed, the process moves to step S13, it is determined that there is no syntax error in the displayed formula, and in step S20, a display screen 30e of the calculation result is displayed on the display unit 14 as shown in FIG. 4(e). The display screen 30e has a black formula "6÷6" and a black calculation result "1".

ついで、第1の演算表示処理の第2の具体例として、図5(a)に示すように、ステップS11で例えば、数式「6÷×6+9×÷3」が入力され、表示画面40aが表示部14に表示された場合を考える。表示画面40aは、黒の数式「6÷×6+9×÷3」を有する。この数式のうち、「÷×」、「×÷」の2か所は、演算子が連続しており、構文エラーのエラー箇所である。 Next, as a second specific example of the first calculation display process, as shown in FIG. 5(a), consider a case where, for example, the formula "6÷×6+9×÷3" is input in step S11 and the display screen 40a is displayed on the display unit 14. The display screen 40a has the black formula "6÷×6+9×÷3". In this formula, the two places "÷×" and "×÷" have consecutive operators, which is an error location of a syntax error.

そして、ステップS12で、「=」キー26が押下入力されると、ステップS13で、表示中の数式に構文エラーがあると判別され、図5(b)に示すように、ステップS14で表示画面40bが表示される。表示画面40bは、黒の「Syntax ERROR」と、黒の反転表示の「Back」とを有する。そして、ステップS15で、決定キー25又は「=」キー26が押下入力されると、図5(c)に示すように、ステップS16,S17で表示画面40cが表示される。表示画面40cは、ダークグレーの「6」と、黒のエラー箇所「÷×」と、ダークグレーの「6+9」と、黒のエラー箇所「×÷」と、ダークグレーの「3」とを、一連の数式として有する。また、表示画面40cにおいて、黒のカーソル「|」が、1番目のエラー箇所「÷×」の中間位置に移動されて表示されている。 When the "=" key 26 is pressed in step S12, it is determined in step S13 that the displayed formula contains a syntax error, and the display screen 40b is displayed in step S14 as shown in FIG. 5(b). The display screen 40b has a black "Syntax ERROR" and a black inverted "Back". When the decision key 25 or the "=" key 26 is pressed in step S15, the display screen 40c is displayed in steps S16 and S17 as shown in FIG. 5(c). The display screen 40c has a dark gray "6", a black error part "÷×", a dark gray "6+9", a black error part "×÷", and a dark gray "3" as a series of formulas. In addition, the black cursor "|" is moved to the middle position of the first error part "÷×" and displayed on the display screen 40c.

そして、ステップS18で、ユーザからの右矢印キー23及び修正キー20cのDELキーの押下入力により、1番目のエラー箇所「÷×」のうちの「×」の削除の修正入力がなされる。さらに、図5(d)に示すように、ステップS18で、ユーザからの右矢印キー23及び修正キー20cのDELキーの押下入力により、2番目のエラー箇所の「×÷」のうちの「÷」の削除の修正入力がなされ、表示画面40dが表示される。表示画面40dは、ダークグレーの「6」と、黒の修正後のエラー箇所「÷」と、ダークグレーの「6+9」と、黒の修正後のエラー箇所「×」と、ダークグレーの「3」とを、一連の数式として有する。 Then, in step S18, the user presses the right arrow key 23 and the DEL key of the correction keys 20c to delete the "x" from the first error location "÷x". Furthermore, as shown in FIG. 5(d), in step S18, the user presses the right arrow key 23 and the DEL key of the correction keys 20c to delete the "÷" from the second error location "×÷", and the display screen 40d is displayed. The display screen 40d has a series of mathematical expressions: a dark gray "6", a black corrected error location "÷", a dark gray "6+9", a black corrected error location "x", and a dark gray "3".

そして、ステップS19で、「=」キー26が押下入力されると、ステップS13に移行され、表示中の数式に構文エラーがないと判別され、図5(e)に示すように、ステップS20で、演算結果の表示画面40eが、表示部14に表示される。表示画面40eは、黒の数式「6÷6+9×3」と、黒の演算結果「28」と、を有する。 When the "=" key 26 is pressed in step S19, the process moves to step S13, where it is determined that there is no syntax error in the displayed formula, and as shown in FIG. 5(e), in step S20, a display screen 40e of the calculation result is displayed on the display unit 14. The display screen 40e has the black formula "6÷6+9×3" and the black calculation result "28".

以上、本実施の形態によれば、電子卓上計算機1は、入力された数式(例えば、「6÷×6」)を対象にして数式のエラー箇所を検出し、エラー箇所(例えば、「÷×」)が検出された場合に、例えば表示部14に表示された表示画面30bに示すように、エラー箇所の表示態様を維持(黒に維持)したままで数式における他の箇所(例えば、「6」、「6」)の表示態様を抑制的な表示態様(ダークグレー)に切り替えるCPU11を備える。 As described above, according to this embodiment, the electronic desk calculator 1 is equipped with a CPU 11 that detects an error in an input formula (e.g., "6÷×6") and, when an error (e.g., "÷×") is detected, switches the display mode of other parts of the formula (e.g., "6", "6") to a more restrained display mode (dark gray) while maintaining the display mode of the error (maintaining it black), as shown on the display screen 30b displayed on the display unit 14, for example.

このため、エラー箇所の表示態様が維持されるので、エラー箇所を太字及び下線に変更して表示情報が混み合う構成よりも、エラー箇所を見やすくできつつ、さらに他の箇所の表示態様をエラー箇所よりも抑制的な表示態様に切り替えるので、エラー箇所と他の箇所とを確実に識別して瞬時にエラー箇所を把握でき、直観的に分かりやすく表示できる。また、数式の演算全体(数式入力~演算結果表示)の時間を短縮できる。また、数式が長い場合にも、1つ以上(特に複数)のエラー箇所を瞬時に把握できる。 As a result, the display format of the error location is maintained, making it easier to see than a configuration in which the error location is changed to bold and underlined, resulting in a crowded display, while the display format of other locations is switched to a more subdued display format than the error location, allowing the error location to be reliably distinguished from other locations and the error location to be grasped instantly, resulting in an intuitively easy-to-understand display. In addition, the time required for the entire calculation of the formula (from inputting the formula to displaying the calculation result) can be shortened. Furthermore, even if the formula is long, one or more (especially multiple) error locations can be grasped instantly.

また、CPU11は、入力された数式の演算指示(「=」キー26)が入力された場合(時)に、当該数式のエラー箇所を検出する。このため、数式の演算指示を入力した際に、エラー箇所をまとめて修正でき、ユーザの負担を軽減できる。 The CPU 11 also detects errors in a formula when an instruction to calculate the formula (the "=" key 26) is entered. This allows errors to be corrected all at once when an instruction to calculate the formula is entered, reducing the burden on the user.

また、CPU11は、エラー箇所の修正の入力に基づいて修正された数式のエラー箇所を検出し、修正された数式のエラー箇所がない場合に、修正された数式の演算を行い、その演算結果を表示する。このため、エラー箇所のない数式の正確な演算結果を表示できるとともに、演算結果の視認により数式にエラー箇所がないことをユーザが確実に認識できる。 The CPU 11 also detects errors in the corrected formula based on the input for correcting the errors, and if there are no errors in the corrected formula, it performs calculations on the corrected formula and displays the calculation results. This makes it possible to display accurate calculation results for a formula without errors, and allows the user to reliably recognize that there are no errors in the formula by visually checking the calculation results.

また、数式の表示態様は、コントラスト(背景の白地に対する文字の表示濃度の差分)である。エラー箇所以外の他の箇所(ダークグレー)のコントラストは、エラー箇所(黒)のコントラストよりも低い。このため、白地に対する文字のコントラストを変更可能な表示部14を用いることができ、カラーの表示部を用いるよりも、電子卓上計算機1のコストを低減できる。特に、表現色が白地に対する黒(表示濃度が異なるグレーを含む)の一色に限定されている表示を行う場合であっても、エラー箇所を見やすくできつつ、直観的に分かりやすく表示できる。 The display mode of the formula is the contrast (the difference in the display density of the characters against the white background). The contrast of the areas other than the error area (dark gray) is lower than the contrast of the error area (black). This makes it possible to use a display unit 14 that can change the contrast of the characters against the white background, and the cost of the electronic desk calculator 1 can be reduced compared to using a color display unit. In particular, even when the display color is limited to one color, black (including grays with different display densities) against a white background, the error area can be easily seen and displayed in an intuitively easy-to-understand manner.

(第1の変形例)
図6~図8(c)を参照して、上記実施の形態の第1の変形例を説明する。図6は、第2の演算表示処理を示すフローチャートである。図7(a)は、表示画面50aを示す図である。図7(b)は、表示画面50bを示す図である。図7(c)は、表示画面50cを示す図である。図7(d)は、表示画面50dを示す図である。図7(e)は、表示画面50eを示す図である。図8(a)は、表示画面50fを示す図である。図8(b)は、表示画面50gを示す図である。図8(c)は、表示画面50hを示す図である。
(First Modification)
A first modified example of the above embodiment will be described with reference to Figures 6 to 8(c). Figure 6 is a flow chart showing the second calculation display process. Figure 7(a) is a diagram showing a display screen 50a. Figure 7(b) is a diagram showing a display screen 50b. Figure 7(c) is a diagram showing a display screen 50c. Figure 7(d) is a diagram showing a display screen 50d. Figure 7(e) is a diagram showing a display screen 50e. Figure 8(a) is a diagram showing a display screen 50f. Figure 8(b) is a diagram showing a display screen 50g. Figure 8(c) is a diagram showing a display screen 50h.

上記実施の形態では、数式のうちのエラー箇所をユーザが全て手動で修正する構成であったが、本変形例では、数式のうちのエラー箇所について、複数の修正候補が表示され、当該修正候補をユーザが択一的に選択入力して修正する構成とする。 In the above embodiment, the user manually corrects all errors in the formula, but in this modified example, multiple correction suggestions are displayed for errors in the formula, and the user can select and input one of the suggestions to correct the errors.

本変形例の装置構成として、上記実施の形態と同様に、電子卓上計算機1を用いるものとする。ただし、記憶部15には、第1の演算表示プログラムP1に代えて、後述する第2の演算表示処理を実行するための第2の演算表示プログラムが記載されているものとする。 As for the device configuration of this modified example, an electronic desk calculator 1 is used, as in the above embodiment. However, instead of the first calculation display program P1, the memory unit 15 stores a second calculation display program for executing a second calculation display process, which will be described later.

つぎに、図6~図8(c)を参照して、本変形例の電子卓上計算機1の動作を説明する。電子卓上計算機1において、例えば、操作部12の機能キー20eの電源キーが入力されて電源オンされたことをトリガとして、CPU11は、第2の演算表示プログラムを記憶部15から読み出し、読み出した第2の演算表示プログラムに従い、第2の演算表示処理を実行する。 Next, the operation of the electronic desk calculator 1 of this modified example will be described with reference to Figures 6 to 8(c). In the electronic desk calculator 1, for example, when the power key of the function key 20e of the operation unit 12 is pressed to turn the power on, the CPU 11 reads the second calculation display program from the storage unit 15 and executes the second calculation display process according to the second calculation display program that has been read.

図6に示すように、まず、ステップS31~S35のそれぞれは、図3の第1の演算表示処理のステップS11~S15と同様である。そして、CPU11は、ステップS31で入力された数式のうち、ステップS33で構文エラーであると判別されたエラー箇所のうちの1番目のエラー箇所を、対象エラー箇所として選択する(ステップS36)。数式内のエラー箇所は、少なくとも1つである。 As shown in FIG. 6, first, steps S31 to S35 are the same as steps S11 to S15 of the first calculation display process in FIG. 3. Then, the CPU 11 selects the first error location among the error locations determined to be a syntax error in step S33 in the formula input in step S31 as the target error location (step S36). There is at least one error location in the formula.

そして、CPU11は、入力された数式のうち、ステップS13で構文エラーと判別されたエラー箇所を黒で表示部14に表示し、エラー箇所以外の箇所を黒よりも抑制的なライトグレーで表示部14に表示する(ステップS37)。そして、CPU11は、ステップS36で選択中の対象エラー箇所(数式内のエラー箇所が1つの場合には、その1つのエラー箇所)にカーソル「|」を移動して黒で点滅表示し、対象エラー箇所に対応する複数の修正候補をライトグレーで表示する(ステップS38)。 Then, the CPU 11 displays in black on the display unit 14 any error locations in the input formula that were determined to be syntax errors in step S13, and displays non-error locations in a more subdued light gray on the display unit 14 (step S37). The CPU 11 then moves the cursor "|" to the target error location selected in step S36 (if there is only one error location in the formula, display that one error location) and displays it in blinking black, and displays multiple correction suggestions corresponding to the target error location in light gray (step S38).

そして、CPU11は、操作部12を介して、表示中の数式の複数の修正候補の択一的な選択入力を受け付ける(ステップS39)。そして、CPU11は、表示中の数式のうち、対象エラー箇所を黒で表示部14に表示したまま、対象エラー箇所以外のエラー箇所(エラー箇所が複数ある場合)を黒よりも抑制的なダークグレーで表示し、ステップS39で選択入力された修正候補を黒で表示部14に表示する(ステップS40)。 The CPU 11 then accepts an alternative selection input of multiple correction candidates for the displayed formula via the operation unit 12 (step S39). The CPU 11 then displays the target error location in the displayed formula in black on the display unit 14, displays error locations other than the target error location (if there are multiple error locations) in a dark gray that is more subdued than black, and displays the correction candidate selected and input in step S39 in black on the display unit 14 (step S40).

そして、CPU11は、ステップS39で選択入力された修正候補で表示中の対象エラー箇所を修正してライトグレーで表示部14に表示する(ステップS41)。そして、CPU11は、表示中の数式に構文エラーがあるか否かを判別する(ステップS42)。 Then, the CPU 11 corrects the displayed target error using the correction candidate selected and input in step S39 and displays it in light gray on the display unit 14 (step S41). The CPU 11 then determines whether or not there is a syntax error in the displayed formula (step S42).

構文エラーがある場合(ステップS42;YES)、ステップS36に移行される。構文エラーがない場合(ステップS33又はS42;NO)、ステップS43に移行される。ステップS43は、図3のステップS20と同様である。 If there is a syntax error (step S42; YES), the process proceeds to step S36. If there is no syntax error (step S33 or S42; NO), the process proceeds to step S43. Step S43 is the same as step S20 in FIG. 3.

ここで、図7(a)~図8(c)を参照して、第2の演算表示処理の具体例を説明する。第2の演算表示処理の開始後、図7(a)に示すように、ステップS31で例えば、数式「6÷×6+9×÷3」が入力され、表示画面50aが表示部14に表示された場合を考える。表示画面50aは、黒の数式「6÷×6+9×÷3」を有する。この数式のうち、「÷×」、「×÷」は、演算子が連続しており、構文エラーのエラー箇所である。 Now, a specific example of the second calculation display process will be described with reference to Figs. 7(a) to 8(c). Consider the case where, after the second calculation display process is started, for example, the formula "6÷x6+9x÷3" is input in step S31 as shown in Fig. 7(a) and the display screen 50a is displayed on the display unit 14. The display screen 50a has the formula "6÷x6+9x÷3" in black. In this formula, "÷x" and "x÷" are consecutive operators and are the error points of a syntax error.

そして、ステップS32で、「=」キー26が押下入力されると、ステップS33で、表示中の数式に構文エラーがあると判別され、図7(b)に示すように、ステップS34で表示画面50bが表示される。表示画面50bは、黒の「Syntax ERROR」と、黒の反転表示の「Back」とを有する。そして、ステップS35で、決定キー25又は「=」キー26が押下入力されると、ステップS36で、1番目のエラー箇所「÷×」が対象エラー箇所として選択される。 When the "=" key 26 is pressed in step S32, it is determined in step S33 that there is a syntax error in the displayed formula, and as shown in FIG. 7(b), the display screen 50b is displayed in step S34. The display screen 50b has "Syntax ERROR" in black and "Back" inverted black. When the enter key 25 or "=" key 26 is pressed in step S35, the first error location "÷×" is selected as the target error location in step S36.

そして、図7(c)に示すように、ステップS37,S38で表示画面50cが表示される。表示画面50cは、ライトグレーの「6」と、黒の1番目のエラー箇所(対象エラー箇所)「÷×」と、ライトグレーの「6+9」と、黒の2番目のエラー箇所「×÷」と、ライトグレーの「3」とを、一連の数式として有する。また、表示画面50cにおいて、黒のカーソル「|」が、1番目のエラー箇所「÷×」の中間位置に移動されて表示されている。数式の全てのエラー箇所のうち、前側(左側)のエラー箇所から後側(右側)のエラー箇所へ順に移動する修正の対象エラー箇所にカーソル「|」が移動される。 Then, as shown in FIG. 7(c), display screen 50c is displayed in steps S37 and S38. Display screen 50c has a series of formulas, including a light gray "6", a black first error point (target error point) "÷×", a light gray "6+9", a black second error point "×÷", and a light gray "3". Also, on display screen 50c, a black cursor "|" is displayed, moved to the middle position of the first error point "÷×". The cursor "|" is moved to the target error point to be corrected, moving in order from the front (left) error point to the back (right) error point among all the error points in the formula.

さらに、表示画面50cは、1番目のエラー箇所「÷×」に対応するライトグレーの「1.÷ 2.×」を修正候補として有する。より具体的には、1番目の修正候補「÷」及び2番目の修正候補「×」から1つが選択入力可能である。例えば、下矢印キー22の押下入力により、修正候補の選択入力モードに移行され、表示中のカーソル「|」が消去され、右矢印キー23、左矢印キー24の押下入力により、1つの修正候補がアクティブにされ、決定キー25の押下入力により、アクティブな修正候補の選択が決定される。 Furthermore, the display screen 50c has a light gray "1.÷ 2.×" as a correction candidate, which corresponds to the first error location "÷×". More specifically, one of the first correction candidate "÷" and the second correction candidate "×" can be selected and input. For example, pressing the down arrow key 22 transitions to a correction candidate selection input mode, and the displayed cursor "|" is erased, pressing the right arrow key 23 or the left arrow key 24 activates one correction candidate, and pressing the enter key 25 confirms the selection of the active correction candidate.

そして、ステップS39で、上述したように、ユーザからの下矢印キー22、右矢印キー23、左矢印キー24の押下入力により、1番目のエラー箇所(対象エラー箇所)に対応する1番目の修正候補「÷」が選択入力されたものとする。すると、図7(d)に示すように、ステップS40で、表示画面50dが表示される。表示画面50dは、ライトグレーの「6」と、黒の1番目のエラー箇所「÷×」と、ライトグレーの「6+9」と、ダークグレーの2番目のエラー箇所「×÷」と、ライトグレーの「3」とを、一連の数式として有し、1番目のエラー箇所「÷×」に対応する選択された黒の1番目の修正候補「1.÷」と、未選択のライトグレーの2番目の修正候補「2.×」とを、選択済の修正候補として有する。このように、対象エラー箇所としての1番目のエラー箇所「÷×」に着目すると、2番目のエラー箇所「×÷」は、黒の対象エラー箇所「÷×」の修正と連動して、当該黒の対象エラー箇所「÷×」と異なるエラー箇所であることを明確にするため、ダークグレーに表示される。 Then, in step S39, as described above, the user presses the down arrow key 22, right arrow key 23, and left arrow key 24 to select and input the first correction candidate "÷" corresponding to the first error location (target error location). Then, as shown in FIG. 7(d), display screen 50d is displayed in step S40. Display screen 50d has a series of mathematical expressions including a light gray "6", a black first error location "÷×", a light gray "6+9", a dark gray second error location "×÷", and a light gray "3", and has as selected correction candidates the selected black first correction candidate "1.÷" corresponding to the first error location "÷×" and the unselected light gray second correction candidate "2.×". In this way, when focusing on the first target error "÷×", the second error "×÷" is displayed in dark grey in conjunction with the correction of the black target error "÷×" to make it clear that it is a different error from the black target error "÷×".

なお、ステップS39で、仮に、ユーザからの下矢印キー22、右矢印キー23、左矢印キー24の押下入力により、1番目のエラー箇所(対象エラー箇所)に対応する2番目の修正候補「×」が選択入力された場合には、図7(e)に示すように、ステップS40で、表示画面50eが表示される。表示画面50eは、ライトグレーの「6」と、黒の1番目のエラー箇所「÷×」と、ライトグレーの「6+9」と、ダークグレーの2番目のエラー箇所「×÷」と、ライトグレーの「3」とを、一連の数式として有し、1番目のエラー箇所「÷×」に対応する未選択のライトグレーの2番目の修正候補「1.÷」と、選択された黒の2番目の修正候補「2.×」とを、選択済の修正候補として有する。 If, in step S39, the user presses the down arrow key 22, right arrow key 23, or left arrow key 24 to select and input the second correction candidate "X" corresponding to the first error location (target error location), then in step S40, display screen 50e is displayed as shown in FIG. 7(e). Display screen 50e has a series of mathematical expressions including a light gray "6", the first error location "÷X" in black, a light gray "6+9", the second error location "×÷" in dark gray, and a light gray "3", and has, as selected correction candidates, an unselected light gray second correction candidate "1.÷" corresponding to the first error location "÷X" and a selected black second correction candidate "2.X".

そして、ステップS41で、選択された修正候補「1.÷」により、黒の1番目のエラー箇所「÷×」が、ライトグレーの「÷」に修正されて表示される。そして、ステップS42で、エラー箇所「×÷」が残っているため、表示中の数式に構文エラーがあると判別され、ステップS36に移行される。 In step S41, the first error "÷×" in black is corrected to a light gray "÷" using the selected correction candidate "1.÷" and displayed. In step S42, because the error "×÷" remains, it is determined that there is a syntax error in the displayed formula, and the process moves to step S36.

同様にして、ステップS36で、未修正の新たな1番目(旧2番目)のエラー箇所「×÷」が対象エラー箇所として選択される。そして、図8(a)に示すように、ステップS37,S38で表示画面50fが表示される。表示画面50fは、ライトグレーの「6÷6+9」と、黒の1番目のエラー箇所「×÷」と、ライトグレーの「3」とを、一連の数式として有する。表示画面50fにおいて、対象エラー箇所「×÷」は、表示画面50d又は50eでのダークグレーから黒の表示に戻る。また、表示画面50fにおいて、黒のカーソル「|」が、1番目のエラー箇所「×÷」の中間位置に移動されて表示されている。 Similarly, in step S36, the new uncorrected first (old second) error location "x÷" is selected as the target error location. Then, as shown in FIG. 8(a), in steps S37 and S38, display screen 50f is displayed. Display screen 50f has a series of mathematical expressions, including "6÷6+9" in light gray, the first error location "x÷" in black, and "3" in light gray. On display screen 50f, the target error location "x÷" returns to being displayed in black from the dark gray displayed on display screen 50d or 50e. Also, on display screen 50f, the black cursor "|" is moved to the middle position of the first error location "x÷" and displayed.

さらに、表示画面50fは、1番目のエラー箇所「×÷」に対応するライトグレーの「1.× 2.÷」を修正候補として有する。そして、ステップS39で、ユーザからの下矢印キー22、右矢印キー23、左矢印キー24の押下入力により、1番目の修正候補「×」が選択入力されたものとする。すると、図8(b)に示すように、ステップS40で、表示画面50gが表示される。表示画面50gは、ライトグレーの「6÷6+9」と、黒の1番目のエラー箇所「×÷」と、ライトグレーの「3」とを、一連の数式として有し、1番目のエラー箇所「×÷」に対応する選択された黒の修正候補「1.×」と、未選択のライトグレーの修正候補「2.÷」とを選択済の修正候補として有する。 Furthermore, the display screen 50f has the light gray "1.x 2.÷" as correction candidates corresponding to the first error location "×÷". Then, in step S39, the user presses the down arrow key 22, the right arrow key 23, and the left arrow key 24 to select and input the first correction candidate "×". Then, as shown in FIG. 8(b), the display screen 50g is displayed in step S40. The display screen 50g has a series of formulas, including the light gray "6÷6+9", the black first error location "×÷", and the light gray "3", and has the selected black correction candidate "1.x" corresponding to the first error location "×÷" and the unselected light gray correction candidate "2.÷" as correction candidates that have been selected.

そして、ステップS41で、選択された修正候補「1.×」により、黒の1番目のエラー箇所「×÷」が、「×」に修正されてライトグレーで表示される。そして、ステップS42で、エラー箇所が残っていないため、表示中の数式に構文エラーがないと判別され、ステップS43に移行される。そして、図8(c)に示すように、ステップS43で、演算結果の表示画面50hが表示される。表示画面50hは、黒の数式「6÷6+9×3」と、黒の演算結果「28」と、を有する。 Then, in step S41, the first black error "x÷" is corrected to "x" using the selected correction candidate "1.x" and displayed in light gray. Then, in step S42, since there are no remaining errors, it is determined that there is no syntax error in the displayed formula, and the process moves to step S43. Then, as shown in FIG. 8(c), in step S43, a display screen 50h showing the calculation result is displayed. The display screen 50h has the black formula "6÷6+9x3" and the black calculation result "28".

以上、本変形例によれば、CPU11は、数式にエラー箇所が検出された場合に、修正候補を表示部14に表示させる。このため、修正候補を選択入力することにより、数式のエラー箇所を、修正の入力ミスを低減して容易かつ確実に修正でき、ユーザの負担を軽減できる。 As described above, according to this modified example, when an error is detected in a formula, the CPU 11 causes the display unit 14 to display correction candidates. Therefore, by selecting and inputting a correction candidate, the error in the formula can be easily and reliably corrected while reducing input errors, thereby reducing the burden on the user.

(第2の変形例)
図9~図11(d)を参照して、上記実施の形態の第2の変形例を説明する。図9は、第3の演算表示処理を示すフローチャートである。図10(a)は、第1の具体例の表示画面60aを示す図である。図10(b)は、第1の具体例の表示画面60bを示す図である。図10(c)は、第1の具体例の表示画面60cを示す図である。図10(d)は、第1の具体例の表示画面60dを示す図である。図10(e)は、第1の具体例の表示画面60eを示す図である。図10(f)は、第1の具体例の表示画面60fを示す図である。図11(a)は、表示画面70aを示す図である。図11(b)は、表示画面70bを示す図である。図11(c)は、表示画面70cを示す図である。図11(d)は、表示画面70dを示す図である。
(Second Modification)
A second modified example of the above embodiment will be described with reference to Figs. 9 to 11(d). Fig. 9 is a flow chart showing the third calculation display process. Fig. 10(a) is a diagram showing a display screen 60a of the first specific example. Fig. 10(b) is a diagram showing a display screen 60b of the first specific example. Fig. 10(c) is a diagram showing a display screen 60c of the first specific example. Fig. 10(d) is a diagram showing a display screen 60d of the first specific example. Fig. 10(e) is a diagram showing a display screen 60e of the first specific example. Fig. 10(f) is a diagram showing a display screen 60f of the first specific example. Fig. 11(a) is a diagram showing a display screen 70a. Fig. 11(b) is a diagram showing a display screen 70b. Fig. 11(c) is a diagram showing a display screen 70c. Fig. 11(d) is a diagram showing a display screen 70d.

上記実施の形態では、入力した数式の演算指示が入力されたときに、エラー箇所を表示して修正する構成であったが、本変形例では、数式の入力中(演算指示前)に、エラー箇所を表示して修正する構成とする。 In the above embodiment, the error location is displayed and corrected when the calculation instruction for the input formula is entered, but in this modified example, the error location is displayed and corrected while the formula is being entered (before the calculation instruction is entered).

本変形例の装置構成として、上記実施の形態と同様に、電子卓上計算機1を用いるものとする。ただし、記憶部15には、第1の演算表示プログラムP1に代えて、後述する第3の演算表示処理を実行するための第3の演算表示プログラムが記載されているものとする。 As for the device configuration of this modified example, an electronic desk calculator 1 is used, as in the above embodiment. However, instead of the first calculation display program P1, the memory unit 15 stores a third calculation display program for executing a third calculation display process, which will be described later.

つぎに、図9~図11(d)を参照して、本変形例の電子卓上計算機1の動作を説明する。電子卓上計算機1において、例えば、操作部12の機能キー20eの電源キーが入力されて電源オンされたことをトリガとして、CPU11は、第3の演算表示プログラムを記憶部15から読み出し、読み出した第3の演算表示プログラムに従い、第3の演算表示処理を実行する。 Next, the operation of the electronic desk calculator 1 of this modified example will be described with reference to Figures 9 to 11(d). In the electronic desk calculator 1, for example, when the power key of the function key 20e of the operation unit 12 is pressed to turn the power on, the CPU 11 reads the third calculation display program from the storage unit 15 and executes the third calculation display process according to the read third calculation display program.

図9に示すように、まず、CPU11は、操作部12を介して、ユーザからの数式の入力を受け付け、入力された数式を表示部14に設定色で表示する(ステップS51)。ステップS51の設定色とは、初期設定が黒であるものとし、その後に、後述するステップS60,S61で設定された色(ダークグレー又は黒(黒の場合は全ての数式))とする。 As shown in FIG. 9, first, the CPU 11 accepts input of a formula from the user via the operation unit 12, and displays the input formula in a set color on the display unit 14 (step S51). The set color in step S51 is initially set to black, and then becomes the color set in steps S60 and S61 described below (dark gray or black (if black, all formulas)).

そして、CPU11は、表示中の数式に構文エラーがあるか否かを判別する(ステップS52)。構文エラーがない場合(ステップS52;NO)、CPU11は、「=」キー26が押下入力されたか否かを判別する(ステップS53)。「=」キー26が入力されていない場合(ステップS53;NO)、ステップS51に移行される。 Then, the CPU 11 determines whether or not there is a syntax error in the displayed formula (step S52). If there is no syntax error (step S52; NO), the CPU 11 determines whether or not the "=" key 26 has been pressed (step S53). If the "=" key 26 has not been pressed (step S53; NO), the process proceeds to step S51.

構文エラーがある場合(ステップS52;YES)、CPU11は、ステップS51で入力された数式のうち、ステップS52で構文エラーと判別されたエラー箇所を黒で表示部14に表示し、エラー箇所以外の箇所を黒よりも抑制的なダークグレーで表示部14に表示する(ステップS54)。数式内のエラー箇所は、1つだけでなく、複数の場合もあり得る。 If there is a syntax error (step S52; YES), the CPU 11 displays the error parts of the formula input in step S51 that were determined to be syntax errors in step S52 in black on the display unit 14, and displays the parts other than the error parts in a dark gray that is more subdued than black on the display unit 14 (step S54). There may be more than one error part in the formula.

そして、CPU11は、ステップS54で黒で表示されたエラー箇所のうち、1番目のエラー箇所に対応する複数の修正候補をライトグレーで表示部14に表示する(ステップS55)。そして、CPU11は、操作部12を介して、ステップS55で表示中の数式の複数の修正候補の択一的な選択入力を受け付け、修正候補の入力があるか否かを判別する(ステップS56)。 Then, the CPU 11 displays, in light gray on the display unit 14, multiple correction candidates corresponding to the first error location among the error locations displayed in black in step S54 (step S55). The CPU 11 then accepts, via the operation unit 12, an input to select one of the multiple correction candidates for the formula being displayed in step S55, and determines whether or not a correction candidate has been input (step S56).

修正候補の入力がある場合(ステップS56;YES)、CPU11は、ステップS55で表示された複数の修正候補のうち、ステップS56で選択入力された修正候補を黒で表示部14に表示する(ステップS57)。そして、CPU11は、ステップS57で選択入力された修正候補に対応するエラー箇所を修正してダークグレーで表示部14に表示する(ステップS58)。 If a correction candidate has been input (step S56; YES), the CPU 11 displays the correction candidate selected and input in step S56 from among the multiple correction candidates displayed in step S55 in black on the display unit 14 (step S57). The CPU 11 then corrects the error location corresponding to the correction candidate selected and input in step S57 and displays it in dark gray on the display unit 14 (step S58).

そして、CPU11は、ステップS58で修正された数式に構文エラーがあるか否かを判別する(ステップS59)。修正候補の入力が無い場合(ステップS56;NO)、又は構文エラーがある場合(ステップS59;YES)、CPU11は、ステップS51で入力される新規数式の設定色としてダークグレーを設定し(ステップS60)、ステップS51に移行する。つまり、ステップS60により、数式にエラー箇所(黒で表示)が残っている場合に、ステップS51で新たに入力される数式の文字がダークグレーで表示されるものとする。 Then, the CPU 11 determines whether or not there is a syntax error in the formula corrected in step S58 (step S59). If no correction candidates are input (step S56; NO), or if there is a syntax error (step S59; YES), the CPU 11 sets dark gray as the setting color for the new formula to be input in step S51 (step S60), and proceeds to step S51. In other words, if there are errors (displayed in black) remaining in the formula in step S60, the characters of the new formula to be input in step S51 will be displayed in dark gray.

構文エラーがない場合(ステップS59;NO)、CPU11は、ステップS51で入力時に表示される全ての数式の設定色として黒を設定し(ステップS61)、ステップS51に移行する。つまり、ステップS61により、数式にエラー箇所がない場合には、ステップS51で入力済及び新たに入力される数式の全ての文字が黒で表示されるものとする。 If there is no syntax error (step S59; NO), the CPU 11 sets the color of all formulas displayed during input in step S51 to black (step S61), and proceeds to step S51. In other words, if there are no errors in the formulas in step S61, all characters in formulas that have already been input and will be newly input in step S51 are displayed in black.

「=」キー26が入力された場合(ステップS53;YES)、ステップS62に移行される。ステップS62は、図3の第1の演算表示処理のステップS20と同様である。 If the "=" key 26 is input (step S53; YES), the process proceeds to step S62. Step S62 is the same as step S20 of the first calculation display process in FIG. 3.

ついで、図10(a)~図11(d)を参照して、第3の演算表示処理の2つの具体例を説明する。第3の演算表示処理の第1の具体例として、第3の演算表示処理の開始後、図10(a)に示すように、ステップS51で例えば、「6÷×」の数式が入力され、表示画面60aが表示部14に表示された場合を考える。表示画面60aは、黒の数式「6÷×」を有し、その数式の後に黒のカーソル「|」を有する。この数式のうち、「÷×」は、演算子が連続しており、構文エラーのエラー箇所である。 Next, two specific examples of the third calculation display process will be described with reference to Figures 10(a) to 11(d). As a first specific example of the third calculation display process, consider the case where, after the start of the third calculation display process, for example, a formula of "6÷x" is entered in step S51 as shown in Figure 10(a) and the display screen 60a is displayed on the display unit 14. The display screen 60a has the black formula "6÷x" and a black cursor "|" after the formula. In this formula, "÷x" is a sequence of operators and is the location of a syntax error.

そして、ステップS52で、表示中の数式に構文エラーがあると判別され、図10(b)に示すように、ステップS54,S55で表示画面60bが表示される。表示画面60bは、数式として、黒よりも抑制的なダークグレーの「6」と、黒のエラー箇所「÷×」と、黒のカーソル「|」と、を有する。また、表示画面60bにおいて、黒のカーソル「|」は、数式の入力中であるため、エラー箇所への移動はなされず、数式の後に表示されている。 Then, in step S52, it is determined that there is a syntax error in the displayed formula, and in steps S54 and S55, as shown in FIG. 10(b), display screen 60b is displayed. Display screen 60b has, as the formula, a dark gray "6" which is more restraining than black, a black error location "÷×", and a black cursor "|". Also, on display screen 60b, since the formula is being entered, the black cursor "|" does not move to the error location and is displayed after the formula.

さらに、表示画面60bは、1番目のエラー箇所「÷×」に対応するライトグレーの「Error:1.÷ 2.×」を修正候補として有する。より具体的には、1番目の修正候補「÷」及び2番目の修正候補「×」から1つが選択入力可能である。 Furthermore, the display screen 60b has a light gray "Error: 1.÷ 2.×" as a correction candidate, which corresponds to the first error location "÷×". More specifically, one of the first correction candidate "÷" and the second correction candidate "×" can be selected and input.

そして、ステップS56で、ユーザからの下矢印キー22、右矢印キー23及び左矢印キー24の押下入力により、1番目の修正候補「÷」が選択入力されたものとする。すると、図10(c)に示すように、ステップS57で、表示画面60cが表示される。表示画面60cは、ライトグレーの「6」と、黒のエラー箇所「÷×」とを、一連の数式として有し、黒の「Error:」と、エラー箇所「÷×」に対応する選択された黒の1番目の修正候補「1.÷」と、未選択のライトグレーの2番目の修正候補「2.×」とを、選択済の修正候補として有する。 Then, in step S56, the user presses the down arrow key 22, right arrow key 23, and left arrow key 24 to select and input the first correction candidate "÷". Then, as shown in FIG. 10(c), in step S57, display screen 60c is displayed. Display screen 60c has a light gray "6" and a black error location "÷×" as a series of mathematical expressions, and has a black "Error:", the selected first correction candidate "1.÷" in black corresponding to the error location "÷×", and an unselected second correction candidate "2.×" in light gray as selected correction candidates.

なお、ステップS56で、仮に、ユーザからの下矢印キー22、右矢印キー23、左矢印キー24の押下入力により、エラー箇所に対応する2番目の修正候補「×」が選択入力された場合には、図10(d)に示すように、ステップS57で、表示画面60dが表示される。表示画面60dは、ライトグレーの「6」と、黒のエラー箇所「÷×」とを、一連の数式として有し、黒の「Error:」と、エラー箇所「÷×」に対応する未選択のライトグレーの1番目の修正候補「1.÷」と、選択された黒の2番目の修正候補「2.×」とを、選択済の修正候補として有する。 If, in step S56, the user presses the down arrow key 22, right arrow key 23, or left arrow key 24 to select and input the second correction candidate "X" corresponding to the error location, then in step S57, display screen 60d is displayed as shown in FIG. 10(d). Display screen 60d has a light gray "6" and a black error location "÷X" as a series of mathematical expressions, and has a black "Error:", an unselected light gray first correction candidate "1.÷" corresponding to the error location "÷X", and a selected black second correction candidate "2.X" as correction candidates that have been selected.

そして、図10(d)に示すように、ステップS58で、表示画面60eが表示される。表示画面60eは、ダークグレーの「6」と、選択された修正候補「1.÷」によりエラー箇所が修正された後のダークグレーの「÷」とを一連の数式として有し、数式の後に黒のカーソル「|」を有する。そして、ステップS59で、エラー箇所が残っていないため、表示中の数式に構文エラーがないと判別され、ステップS61を介してステップS51に移行される。ステップS51では、エラー箇所がないため、ステップS61で設定色が黒に変更された数式「6÷」の続きの数式が入力されて黒で表示される。例えば、続きの数式として数値「6」が入力されると、黒の数式「6÷6」が表示される。 Then, as shown in FIG. 10(d), in step S58, display screen 60e is displayed. Display screen 60e has a series of formulas, including a dark gray "6" and a dark gray "÷" after the error has been corrected by the selected correction candidate "1.÷", and a black cursor "|" after the formula. Then, in step S59, since no errors remain, it is determined that there is no syntax error in the displayed formula, and the process proceeds to step S51 via step S61. In step S51, since there are no errors, the formula following the formula "6÷", whose setting color was changed to black in step S61, is entered and displayed in black. For example, when the number "6" is entered as the following formula, the black formula "6÷6" is displayed.

そして、ステップS52で、表示中の数式に構文エラーがないと判別され、ステップS53で「=」キー26が入力されると、図10(f)に示すように、ステップS62で、数式「6÷6」が演算され、演算結果の表示画面60fが表示部14に表示される。表示画面60fは、黒の数式「6÷6」と、黒の演算結果「1」とを有する。 Then, in step S52, it is determined that there is no syntax error in the displayed formula, and in step S53, when the "=" key 26 is entered, the formula "6÷6" is calculated in step S62, as shown in FIG. 10(f), and a display screen 60f of the calculation result is displayed on the display unit 14. The display screen 60f has the formula "6÷6" in black and the calculation result "1" in black.

ついで、第3の演算表示処理の第2の具体例として、例えば、「6÷×6+9×÷3」の数式(全数式とする)が入力される場合を考える。全数式のうち、「÷×」、「×÷」の2か所は、演算子が連続しており、構文エラーのエラー箇所である。 Next, as a second specific example of the third calculation display process, consider the case where the formula "6÷×6 + 9×÷3" (assuming it is the full formula) is input. In the full formula, the two places where the operators "÷×" and "×÷" are consecutive are error locations due to syntax errors.

上記全数式のうち、「6÷」までの入力は、ステップS51~S53のループでの実行により、数式の入力及び黒の数式の表示が実行される。そして、ステップS51で、「×」が入力されると、黒の数式「6÷×」が表示され、ステップS52で、表示中の数式に構文エラーがあると判別される。そして、ステップS54で、ダークグレーの「6」と黒の(1番目の)エラー箇所「÷×」とが一連の数式として表示され、ステップS55で1番目のエラー箇所「÷×」に対応するライトグレーの修正候補「Error:1.÷ 2.×」が表示される。 For all of the above formulas, input up to "6÷" is executed in a loop from steps S51 to S53, where the formula is input and displayed in black. Then, when "×" is input in step S51, the black formula "6÷×" is displayed, and in step S52 it is determined that there is a syntax error in the displayed formula. Then, in step S54, the dark gray "6" and the black (first) error location "÷×" are displayed as a series of formulas, and in step S55, a light gray correction suggestion "Error: 1.÷ 2.×" corresponding to the first error location "÷×" is displayed.

しかし、ステップS56で、修正候補の入力がなされないものとする。すると、ステップS60を介して、再度ステップS51に移行され、数式として、ダークグレーの「6」と、黒の1番目のエラー箇所「÷×」とが一連の数式として表示され、1番目のエラー箇所「÷×」に対応するライトグレーの修正候補「Error:1.÷ 2.×」も表示されたままとなる。 However, assume that no correction suggestions are input in step S56. Then, via step S60, the process moves back to step S51, where the dark grey "6" and the black "÷×" for the first error are displayed as a series of formulas, and the light grey correction suggestion "Error: 1.÷ 2.×" for the first error "÷×" remains displayed.

同様に、ステップS51~S56,S60のループの実行が繰り返され、図11(a)に示すように、ステップS51で、全数式の最後の「3」が入力されると、表示画面70aが表示される。表示画面70aは、ダークグレーの「6」と、黒の1番目のエラー箇所「÷×」と、ダークグレーの「6+9」と、黒の2番目のエラー箇所「×÷」と、ダークグレーの「3」とを、一連の数式として有し、1番目のエラー箇所「÷×」に対応するライトグレーの修正候補「Error:1.÷ 2.×」を有する。 Similarly, the loop of steps S51 to S56 and S60 is repeated, and as shown in FIG. 11(a), when the final "3" of all the formulas is entered in step S51, display screen 70a is displayed. Display screen 70a has a series of formulas consisting of a dark grey "6", a black first error "÷×", a dark grey "6+9", a black second error "×÷", and a dark grey "3", as well as a light grey correction suggestion "Error: 1.÷ 2.×" that corresponds to the first error "÷×".

そして、ステップS56で、1番目のエラー箇所「÷×」に対応する修正候補「1.÷」が入力されると、図11(b)に示すように、ステップS57で、表示画面70bが表示される。表示画面70bは、ダークグレーの「6」と、黒の1番目のエラー箇所「÷×」と、ダークグレーの「6+9」と、黒の2番目のエラー箇所「×÷」と、ダークグレーの「3」とを、一連の数式として有し、黒の「Error:」と、選択済の黒の修正候補「1.÷」と、未選択のライトグレーの修正候補「2.×」とを有する。そして、ステップS58で、選択済の修正候補「1.÷」により、1番目のエラー箇所「÷×」が修正され、ダークグレーの「6」と、ダークグレーの修正後の1番目のエラー箇所「÷」と、ダークグレーの「6+9」と、黒の2番目のエラー箇所「×÷」と、ダークグレーの「3」とが、一連の数式として表示される。 Then, when the correction candidate "1.÷" corresponding to the first error location "÷×" is input in step S56, the display screen 70b is displayed in step S57 as shown in FIG. 11(b). The display screen 70b has a series of formulas including a dark gray "6", a black first error location "÷×", a dark gray "6+9", a black second error location "×÷", and a dark gray "3", as well as a black "Error:", a selected black correction candidate "1.÷", and an unselected light gray correction candidate "2.×". Then, in step S58, the first error location "÷×" is corrected by the selected correction candidate "1.÷", and the dark gray "6", the dark gray corrected first error location "÷", the dark gray "6+9", the black second error location "×÷", and the dark gray "3" are displayed as a series of formulas.

しかし、ステップS59で、2番目のエラー箇所「×÷」により、表示中の数式に構文エラーがあると判別され、ステップS60を介して、ステップS51に移行される。ステップS51では、表示画面における表示中の数式は変わらず、また修正後のエラー箇所に対応する修正候補は表示されない。 However, in step S59, it is determined that there is a syntax error in the displayed formula due to the second error point "×÷", and the process proceeds to step S51 via step S60. In step S51, the displayed formula on the display screen does not change, and no correction suggestions corresponding to the corrected error point are displayed.

そして、ステップS51で、新規入力がされない場合に、ステップS52で、表示中の数式に構文エラーがあると判別される。そして、ステップS54で、表示画面における表示中の数式は変わらず、ステップS55で、当該表示画面中で、2番目のエラー箇所「×÷」に対応するライトグレーの修正候補「Error:1.× 2.÷」が表示される。 If no new input is made in step S51, it is determined in step S52 that the displayed formula contains a syntax error. In step S54, the displayed formula on the display screen remains unchanged, and in step S55, a light gray correction suggestion "Error: 1.x 2.÷" corresponding to the second error "x÷" is displayed on the display screen.

そして、ステップS56で、2番目のエラー箇所「×÷」に対応する1番目の修正候補「1.×」が入力されると、図11(c)に示すように、ステップS57で、表示画面70cが表示される。表示画面70cは、ダークグレーの「6」と、ダークグレーの修正後の1番目のエラー箇所「÷」と、ダークグレーの「6+9」と、黒の2番目のエラー箇所「×÷」と、ダークグレーの「3」とを、一連の数式として有し、黒の「Error:」と、選択済の黒の修正候補「1.×」と、未選択のライトグレーの修正候補「2.÷」とを有する。そして、ステップS58で、選択済の修正候補「1.×」により、2番目のエラー箇所「×÷」が修正され、ダークグレーの「6」と、ダークグレーの修正後の1番目のエラー箇所「÷」と、ダークグレーの「6+9」と、ダークグレーの修正後の2番目のエラー箇所「×」と、ダークグレーの「3」とが、一連の数式として表示される。 Then, when the first correction candidate "1.x" corresponding to the second error location "x÷" is entered in step S56, display screen 70c is displayed in step S57, as shown in FIG. 11(c). Display screen 70c has a series of formulas consisting of a dark gray "6", the first corrected error location "÷" in dark gray, a dark gray "6+9", the second error location "x÷" in black, and a dark gray "3", as well as a black "Error:", the selected black correction candidate "1.x", and the unselected light gray correction candidate "2.÷". Then, in step S58, the second error "×÷" is corrected using the selected correction candidate "1.×", and the dark gray "6", the dark gray corrected first error "÷", the dark gray "6+9", the dark gray corrected second error "×", and the dark gray "3" are displayed as a series of mathematical expressions.

そして、ステップS59で、表示中の数式に構文エラーがないと判別され、ステップS61を介して、ステップS51に移行される。ステップS51では、設定色が黒の「6」と、黒の修正後の1番目のエラー箇所「÷」と、黒の「6+9」と、黒の修正後の2番目のエラー箇所「×」と、黒の「3」とが、一連の数式として表示される。 Then, in step S59, it is determined that there is no syntax error in the displayed formula, and the process proceeds to step S51 via step S61. In step S51, a black "6", the first error point after correction "÷", a black "6+9", the second error point after correction "×", and a black "3" are displayed as a series of formulas.

そして、ステップS51で、新規入力がされず、ステップS52で、表示中の数式に構文エラーがないと判別され、ステップS53で、「=」キー26が入力されると、図11(d)に示すように、ステップS62で、演算結果の表示画面70dが表示される。表示画面70dは、黒の数式「6÷6+9×3」と、黒の演算結果「28」と、を有する。 If no new input is made in step S51, it is determined in step S52 that there is no syntax error in the displayed formula, and the "=" key 26 is pressed in step S53, then the calculation result display screen 70d is displayed in step S62, as shown in FIG. 11(d). The display screen 70d has the formula "6÷6+9×3" in black and the calculation result "28" in black.

以上、本変形例によれば、CPU11は、数式の入力中に、当該数式のエラー箇所を検出する。このため、数式の入力中に常時エラー箇所を確認でき、数式の演算全体(数式入力~演算結果表示)の時間の早い段階でエラー箇所を把握及び修正でき、数式の演算全体の時間を短縮できる。また、ユーザがエラー箇所の発生の都度又はまとめて当該エラー箇所を修正でき、修正の利便性を向上できる。 As described above, according to this modified example, the CPU 11 detects errors in a formula while the formula is being input. This allows the user to check for errors at any time while the formula is being input, and allows the user to identify and correct errors at an early stage in the entire calculation of the formula (from inputting the formula to displaying the calculation result), thereby shortening the overall time required for calculating the formula. In addition, the user can correct errors each time they occur or all at once, improving the convenience of correction.

また、CPU11は、数式の入力中に、エラー箇所の修正の入力に基づいて修正された数式のエラー箇所を検出し、修正された数式のエラー箇所がなく、かつ当該修正された数式の演算指示が入力された場合に、修正された数式の演算を行い、演算の結果を表示部14に表示する。このため、エラー箇所のない数式の正確な演算結果を表示できるとともに、演算結果の視認により数式にエラー箇所がないことをユーザが確実に認識できる。 The CPU 11 also detects errors in the corrected formula based on the input of corrections to the errors while the formula is being entered, and if there are no errors in the corrected formula and an instruction to calculate the corrected formula is input, it calculates the corrected formula and displays the results of the calculation on the display unit 14. This makes it possible to display accurate calculation results for a formula without errors, and the user can reliably recognize that there are no errors in the formula by visually checking the calculation results.

なお、本変形例において、上記の例では、数式の構文エラーの判別時に、数式のうちのエラー箇所の表示態様を黒に維持し、エラー箇所以外の箇所の表示態様を黒よりも抑制的なダークグレーにする構成としたが、これに限定されるものではない。例えば、数式の構文エラーの判別後に、数式のうちのエラー箇所の表示態様を所定色(例えばダークグレー)にし、エラー箇所以外の箇所の表示態様を例えば黒にし、当該エラー箇所に対応する複数の修正候補を表示し、操作部12を介する修正候補の選択入力後に、数式のうちのエラー箇所の表示態様を所定色(ダークグレー)に維持し、エラー箇所以外の箇所の表示態様を所定色(ダークグレー)よりも抑制的な表示態様(例えば、ライトグレー)にする構成としてもよい。 In the above example, in this modified example, when determining whether a syntax error exists in the formula, the display mode of the erroneous part in the formula is maintained in black, and the display mode of the parts other than the error part is changed to a dark gray that is more restrained than black, but this is not limited to this. For example, after determining whether a syntax error exists in the formula, the display mode of the erroneous part in the formula is changed to a predetermined color (e.g., dark gray), the display mode of the parts other than the error part is changed to, for example, black, and multiple correction candidates corresponding to the error part are displayed, and after selecting and inputting the correction candidates via the operation unit 12, the display mode of the erroneous part in the formula is maintained in a predetermined color (dark gray), and the display mode of the parts other than the error part is changed to a display mode that is more restrained than the predetermined color (dark gray) (e.g., light gray).

以上の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体として記憶部15(ROM)を使用した例を開示したが、この例に限定されない。その他のコンピュータ読み取り可能な媒体として、フラッシュメモリなどの不揮発性メモリ、CD-ROMなどの可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。 In the above explanation, an example has been disclosed in which the storage unit 15 (ROM) is used as a computer-readable medium for the program according to the present invention, but this is not limiting. As other computer-readable media, non-volatile memory such as flash memory and portable recording media such as CD-ROM can be applied. In addition, carrier waves can also be applied to the present invention as a medium for providing data for the program according to the present invention via a communication line.

なお、上記実施の形態における記述は、本発明に係る入力支援装置、入力支援方法及びプログラムの一例であり、これに限定されるものではない。例えば、上記実施の形態、第1及び第2の変形例の少なくとも2つを適宜組み合わせる構成としてもよい。 The description in the above embodiment is an example of the input support device, input support method, and program according to the present invention, and is not limited thereto. For example, at least two of the above embodiment, the first, and second modified examples may be appropriately combined.

また、上記実施の形態及び変形例において、数式のエラー箇所が検出された場合に、エラー箇所の維持する表示態様が、背景の白地に対する文字のコントラストであり、エラー箇所以外の他の箇所のコントラストが、エラー箇所のコントラストよりも低い構成としたが、これに限定されるものではない。例えば、表示部14が背景の黒地に情報(文字)を表示するものである場合に、エラー箇所の維持する表示態様が、背景の黒地に対する文字のコントラスト(黒地に対する文字の表示濃度の差分)であり、エラー箇所以外の他の箇所のコントラストが、エラー箇所のコントラストよりも低い(例えば、エラー箇所の文字が黒地に白で、他の箇所の文字が黒地にグレー)構成としてもよい。 In addition, in the above embodiment and modified example, when an error in a formula is detected, the display mode maintained for the error portion is the contrast of the characters against the white background, and the contrast of other portions other than the error portion is lower than the contrast of the error portion, but this is not limited to the above. For example, if the display unit 14 displays information (characters) against a black background, the display mode maintained for the error portion may be the contrast of the characters against the black background (the difference in the display density of the characters against the black background), and the contrast of other portions other than the error portion may be lower than the contrast of the error portion (for example, the characters in the error portion are white on a black background, and the characters in other portions are gray on a black background).

また、数式のエラー箇所の維持する表示態様が、表示する文字の太さ(表示太さとする)であり、エラー箇所以外の他の箇所の表示太さが、エラー箇所の表示太さよりも細い構成としてもよい。また、数式のエラー箇所の維持する表示態様が、表示する文字のサイズ(表示サイズとする)であり、エラー箇所以外の他の箇所の文字の表示サイズが、エラー箇所の文字の表示サイズよりも小さい構成としてもよい。また、数式のエラー箇所の維持する表示態様が、表示する文字のフォント(表示フォントとする)であり、エラー箇所以外の他の箇所の文字の表示フォントが、エラー箇所の文字の表示フォントよりも抑制的(例えば、同じ文字でも黒のドット数が少ない種類のフォント)である構成としてもよい。また、電子卓上計算機1の表示部14が、カラーの表示情報を表示可能である場合に、数式のエラー箇所の維持する表示態様が、表示する文字のカラーの表示色(カラー表示色とする)であり、エラー箇所以外の他の箇所の文字のカラー表示色が、エラー箇所の文字のカラー表示色よりも抑制的(例えば、暗いカラーの色)である構成としてもよい。 The display mode maintained for the error part of the formula may be the thickness of the characters to be displayed (referred to as the display thickness), and the display thickness of the other parts other than the error part may be thinner than the display thickness of the error part. The display mode maintained for the error part of the formula may be the size of the characters to be displayed (referred to as the display size), and the display size of the characters of the other parts other than the error part may be smaller than the display size of the characters of the error part. The display mode maintained for the error part of the formula may be the font of the characters to be displayed (referred to as the display font), and the display font of the characters of the other parts other than the error part may be more restrained than the display font of the characters of the error part (for example, a font of a type having a smaller number of black dots for the same characters). When the display unit 14 of the electronic desk calculator 1 is capable of displaying color display information, the display mode maintained for the error part of the formula may be the display color of the characters to be displayed (referred to as the color display color), and the color display color of the characters of the other parts other than the error part may be more restrained than the color display color of the characters of the error part (for example, a dark color).

また、上記実施の形態及び変形例において、入力支援装置として、関数電卓である電子卓上計算機1を用いる構成としたが、これに限定されるものではない。入力支援装置としては、数式を入力及び表示可能で、その表示態様を制御可能な装置であればよく、通常の電子卓上計算機や、電子卓上計算機以外の携帯機器、据え置き型の情報処理装置など、他の入力支援装置を用いるとしてもよい。 In addition, in the above embodiment and modified example, the input support device is configured to use an electronic desk calculator 1, which is a scientific calculator, but this is not limited to this. The input support device may be any device that can input and display mathematical expressions and control the display mode, and other input support devices may be used, such as a normal electronic desk calculator, a portable device other than an electronic desk calculator, or a stationary information processing device.

本発明の実施の形態及び変形例を説明したが、本発明の範囲は、上述の実施の形態及び変形例に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
入力された数式を対象にして数式のエラー箇所を検出する検出手段と、
前記検出手段によりエラー箇所が検出された場合に、当該エラー箇所の表示態様を維持したままで前記数式における他の箇所の表示態様を抑制的な表示態様に切り替える表示制御手段と、
を備えることを特徴とする入力支援装置。
<請求項2>
前記表示制御手段は、前記検出手段によりエラー箇所が検出された場合に、修正候補を表示させる、
ことを特徴とする請求項1に記載の入力支援装置。
<請求項3>
前記検出手段は、前記入力された数式の演算指示が入力された場合に、当該数式のエラー箇所を検出する、
ことを特徴とする請求項1又は2に記載の入力支援装置。
<請求項4>
前記検出手段は、前記エラー箇所の修正の入力に基づいて修正された数式のエラー箇所を検出し、
前記表示制御手段は、前記修正された数式のエラー箇所がない場合に、当該修正された数式の演算を行い、当該演算の結果を表示する、
ことを特徴とする請求項3に記載の入力支援装置。
<請求項5>
前記検出手段は、前記数式の入力中に、当該数式のエラー箇所を検出する、
ことを特徴とする請求項1又は2に記載の入力支援装置。
<請求項6>
前記検出手段は、前記数式の入力中に、前記エラー箇所の修正の入力に基づいて修正された数式のエラー箇所を検出し、
前記表示制御手段は、前記修正された数式のエラー箇所がなく、かつ当該修正された数式の演算指示が入力された場合に、当該修正された数式の演算を行い、当該演算の結果を表示する、
ことを特徴とする請求項5に記載の入力支援装置。
<請求項7>
前記表示態様は、コントラストであり、
前記他の箇所のコントラストは、前記エラー箇所のコントラストよりも低い、
ことを特徴とする請求項1又は2に記載の入力支援装置。
<請求項8>
入力された数式を対象にして数式のエラー箇所を検出する検出工程と、
前記検出工程においてエラー箇所が検出された場合に、当該エラー箇所の表示態様を維持したままで前記数式における他の箇所の表示態様を抑制的な表示態様に切り替える表示制御工程と、
を含むことを特徴とする入力支援方法。
<請求項9>
コンピュータを、
入力された数式を対象にして数式のエラー箇所を検出する検出手段、
前記検出手段によりエラー箇所が検出された場合に、当該エラー箇所の表示態様を維持したままで前記数式における他の箇所の表示態様を抑制的な表示態様に切り替える表示制御手段、
として機能させるためのプログラム。
Although the embodiments and modifications of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments and modifications, but includes the scope of the invention described in the claims and its equivalents.
The inventions described in the claims originally attached to this application are set forth below. The claim numbers in the appended claims are the same as those in the claims originally attached to this application.
[Additional Notes]
<Claim 1>
A detection means for detecting an error in an input formula;
a display control means for, when an error portion is detected by the detection means, switching the display mode of the error portion to a suppressed display mode while maintaining the display mode of the error portion;
An input support device comprising:
<Claim 2>
the display control means displays correction candidates when an error location is detected by the detection means;
2. The input support device according to claim 1,
<Claim 3>
the detection means detects an error in the input mathematical expression when an instruction to execute the mathematical expression is input;
3. The input support device according to claim 1, wherein the input support device is a device that supports an input of a plurality of input signals.
<Claim 4>
The detection means detects an error location in the formula corrected based on the input of the correction of the error location,
the display control means, when there is no error in the corrected formula, performs an operation on the corrected formula and displays a result of the operation.
4. The input support device according to claim 3.
<Claim 5>
The detection means detects an error in the formula during input of the formula.
3. The input support device according to claim 1, wherein the input support device is a device that supports an input of a plurality of input signals.
<Claim 6>
The detection means detects an error portion of the formula corrected based on an input of a correction of the error portion during input of the formula,
the display control means, when the corrected formula has no error and an instruction to calculate the corrected formula has been input, performs calculation of the corrected formula and displays a result of the calculation.
6. The input support device according to claim 5,
<Claim 7>
The display aspect is contrast,
The contrast of the other portion is lower than the contrast of the error portion.
3. The input support device according to claim 1, wherein the input support device is a device that supports an input of a plurality of input signals.
<Claim 8>
A detection step of detecting an error in an input formula;
a display control step of, when an error portion is detected in the detection step, switching the display mode of the other portions in the formula to a suppressed display mode while maintaining the display mode of the error portion;
An input assistance method comprising:
<Claim 9>
Computer,
A detection means for detecting an error in an input formula;
a display control means for, when an error portion is detected by the detection means, switching the display mode of the error portion to a suppressed display mode while maintaining the display mode of the error portion;
A program to function as a

1 電子卓上計算機
11 CPU
12 操作部
20a テンキー
20b 演算キー
20c 修正キー
20d 関数キー
21 上矢印キー
22 下矢印キー
23 右矢印キー
24 左矢印キー
25 決定キー
26 「=」キー
20e 機能キー
13 RAM
14 表示部
15 記憶部
16 バス
1 Electronic desk calculator 11 CPU
12 Operation section 20a Numeric keypad 20b Calculation key 20c Correction key 20d Function key 21 Up arrow key 22 Down arrow key 23 Right arrow key 24 Left arrow key 25 Confirmation key 26 "=" key 20e Function key 13 RAM
14 Display unit 15 Memory unit 16 Bus

Claims (5)

入力された数式を対象にして数式のエラー箇所を検出する検出手段と、
前記検出手段によりエラー箇所が検出された場合に、入力位置を示すカーソルを前記エラー箇所に対応する位置に表示させるとともに前記エラー箇所に対応する修正候補を前記数式とは異なる行に表示させ、且つ、前記数式における前記エラー箇所の表示コントラストを維持したままで前記数式における他の箇所の表示コントラストを低下させる表示制御手段と、
を備え、
前記表示制御手段は、
前記数式の背景の表示濃度と前記エラー箇所での数式の表示濃度とを変化させずに前記他の箇所での数式の表示濃度を前記数式の背景の表示濃度に近づけることにより、前記エラー箇所の表示コントラストを維持したままで前記他の箇所の表示コントラストを低下させ、
且つ、前記カーソルを前記エラー箇所に対応する位置に表示させている間、前記修正候補が非選択状態として識別可能なように、前記修正候補の表示コントラストを前記数式における前記他の箇所の表示コントラストよりも更に低下させた状態で表示させる、
ことを特徴とする入力支援装置。
A detection means for detecting an error in an input formula;
a display control means for, when an error portion is detected by the detection means, displaying a cursor indicating an input position at a position corresponding to the error portion, displaying a correction candidate corresponding to the error portion on a line different from the mathematical formula, and lowering the display contrast of other portions in the mathematical formula while maintaining the display contrast of the error portion in the mathematical formula ;
Equipped with
The display control means
by bringing the display density of the formula in the other portion closer to the display density of the background of the formula without changing the display density of the background of the formula and the display density of the formula in the error portion, while maintaining the display contrast of the error portion and lowering the display contrast of the other portion;
and while the cursor is being displayed at the position corresponding to the error portion, the display contrast of the correction candidate is lowered further than the display contrast of the other portions in the formula so that the correction candidate can be identified as being in a non-selected state.
13. An input support device comprising:
前記表示制御手段は、前記カーソルを前記エラー箇所に対応する位置に表示させる場合には、表示コントラストを低下させた前記他の箇所よりも表示コントラストが高くなるように前記カーソルを表示させる、
ことを特徴とする請求項1に記載の入力支援装置。
when the display control means displays the cursor at a position corresponding to the error portion, the display control means displays the cursor with a higher display contrast than the other portions where the display contrast has been reduced.
2. The input support device according to claim 1,
前記検出手段は、前記数式の入力中に、当該数式のエラー箇所を検出する、
ことを特徴とする請求項1又は2に記載の入力支援装置。
The detection means detects an error in the formula during input of the formula.
3. The input support device according to claim 1, wherein the input support device is a device that supports an input of a plurality of input signals.
入力支援装置が実行する入力支援方法であって、An input assistance method executed by an input assistance device,
入力された数式を対象にして数式のエラー箇所を検出する検出工程と、A detection step of detecting an error in an input formula;
前記検出工程においてエラー箇所が検出された場合に、入力位置を示すカーソルを前記エラー箇所に対応する位置に表示させるとともに前記エラー箇所に対応する修正候補を前記数式とは異なる行に表示させ、且つ、前記数式における前記エラー箇所の表示コントラストを維持したままで前記数式における他の箇所の表示コントラストを低下させる表示制御工程と、a display control step of, when an error portion is detected in the detection step, displaying a cursor indicating an input position at a position corresponding to the error portion, displaying a correction candidate corresponding to the error portion on a line different from the mathematical formula, and lowering the display contrast of other portions in the mathematical formula while maintaining the display contrast of the error portion in the mathematical formula;
を含み、Including,
前記表示制御工程は、The display control step includes:
前記数式の背景の表示濃度と前記エラー箇所での数式の表示濃度とを変化させずに前記他の箇所での数式の表示濃度を前記数式の背景の表示濃度に近づけることにより、前記エラー箇所の表示コントラストを維持したままで前記他の箇所の表示コントラストを低下させ、by bringing the display density of the formula in the other portion closer to the display density of the background of the formula without changing the display density of the background of the formula and the display density of the formula in the error portion, while maintaining the display contrast of the error portion and lowering the display contrast of the other portion;
且つ、前記カーソルを前記エラー箇所に対応する位置に表示させている間、前記修正候補が非選択状態として識別可能なように、前記修正候補の表示コントラストを前記数式における前記他の箇所の表示コントラストよりも更に低下させた状態で表示させる、and while the cursor is being displayed at the position corresponding to the error portion, the display contrast of the correction candidate is lowered further than the display contrast of the other portions in the formula so that the correction candidate can be identified as being in a non-selected state.
ことを特徴とする入力支援方法。13. An input assistance method comprising:
コンピュータを、Computer,
入力された数式を対象にして数式のエラー箇所を検出する検出手段、A detection means for detecting an error in an input formula;
前記検出手段によりエラー箇所が検出された場合に、入力位置を示すカーソルを前記エラー箇所に対応する位置に表示させるとともに前記エラー箇所に対応する修正候補を前記数式とは異なる行に表示させ、且つ、前記数式における前記エラー箇所の表示コントラストを維持したままで前記数式における他の箇所の表示コントラストを低下させる表示制御手段、a display control means for, when an error portion is detected by said detection means, displaying a cursor indicating an input position at a position corresponding to said error portion, displaying correction candidates corresponding to said error portion on a line different from said formula, and lowering the display contrast of other portions in said formula while maintaining the display contrast of said error portion in said formula;
として機能させ、Function as a
前記表示制御手段は、The display control means
前記数式の背景の表示濃度と前記エラー箇所での数式の表示濃度とを変化させずに前記他の箇所での数式の表示濃度を前記数式の背景の表示濃度に近づけることにより、前記エラー箇所の表示コントラストを維持したままで前記他の箇所の表示コントラストを低下させ、by bringing the display density of the formula in the other portion closer to the display density of the background of the formula without changing the display density of the background of the formula and the display density of the formula in the error portion, while maintaining the display contrast of the error portion and lowering the display contrast of the other portion;
且つ、前記カーソルを前記エラー箇所に対応する位置に表示させている間、前記修正候補が非選択状態として識別可能なように、前記修正候補の表示コントラストを前記数式における前記他の箇所の表示コントラストよりも更に低下させた状態で表示させる、and while the cursor is being displayed at the position corresponding to the error portion, the display contrast of the correction candidate is lowered further than the display contrast of the other portions in the formula so that the correction candidate can be identified as being in a non-selected state.
ことを特徴とするプログラム。A program characterized by:
JP2022109378A 2022-07-07 2022-07-07 Input support device, input support method and program Active JP7601063B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022109378A JP7601063B2 (en) 2022-07-07 2022-07-07 Input support device, input support method and program
CN202310821652.0A CN117370259A (en) 2022-07-07 2023-07-06 Input support device, input support method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022109378A JP7601063B2 (en) 2022-07-07 2022-07-07 Input support device, input support method and program

Publications (2)

Publication Number Publication Date
JP2024007937A JP2024007937A (en) 2024-01-19
JP7601063B2 true JP7601063B2 (en) 2024-12-17

Family

ID=89399030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022109378A Active JP7601063B2 (en) 2022-07-07 2022-07-07 Input support device, input support method and program

Country Status (2)

Country Link
JP (1) JP7601063B2 (en)
CN (1) CN117370259A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011180710A (en) 2010-02-26 2011-09-15 Sota Syst Kk Electronic calculation apparatus and program
JP2011186567A (en) 2010-03-05 2011-09-22 Casio Computer Co Ltd Electronic calculator and program
JP2011186771A (en) 2010-03-09 2011-09-22 Casio Computer Co Ltd Arithmetic unit and program
JP2014067390A (en) 2012-09-10 2014-04-17 Casio Comput Co Ltd Numerical expression display device, numerical expression display program and numerical expression display method
JP2020525868A (en) 2017-09-09 2020-08-27 アップル インコーポレイテッドApple Inc. Implementation of biometrics

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3420007B2 (en) * 1996-12-19 2003-06-23 三菱電機株式会社 Abnormal status display device of control monitoring system
US20160246763A1 (en) * 2013-10-18 2016-08-25 Mitsubishi Electric Corporation Character string display device
WO2017175271A1 (en) * 2016-04-04 2017-10-12 三菱電機株式会社 Information display control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011180710A (en) 2010-02-26 2011-09-15 Sota Syst Kk Electronic calculation apparatus and program
JP2011186567A (en) 2010-03-05 2011-09-22 Casio Computer Co Ltd Electronic calculator and program
JP2011186771A (en) 2010-03-09 2011-09-22 Casio Computer Co Ltd Arithmetic unit and program
JP2014067390A (en) 2012-09-10 2014-04-17 Casio Comput Co Ltd Numerical expression display device, numerical expression display program and numerical expression display method
JP2020525868A (en) 2017-09-09 2020-08-27 アップル インコーポレイテッドApple Inc. Implementation of biometrics

Also Published As

Publication number Publication date
CN117370259A (en) 2024-01-09
JP2024007937A (en) 2024-01-19

Similar Documents

Publication Publication Date Title
EP2163973A2 (en) On-screen virtual keyboard system
US5388251A (en) Help display system for a computer
KR101132859B1 (en) Input apparatus
US10275152B2 (en) Advanced methods and systems for text input error correction
US7502017B1 (en) Handwriting recognizer user interface methods
KR100823083B1 (en) Document correction method and apparatus for a document display device having a touch screen
US20130257738A1 (en) Numerical control apparatus
WO2007030620A1 (en) Software key labeling on software keyboards
US10915301B2 (en) Programming support device, programming support method, and non-transitory recording medium
JP2005100186A (en) Software keyboard display device and display program
JP7601063B2 (en) Input support device, input support method and program
US7995063B2 (en) Figure rendering apparatus and figure rendering method
US20090113339A1 (en) Electronic calculator displayable with repeating decimal
JP2010165146A (en) Display method for software keyboard and portable information terminal device
US7500146B2 (en) Information processing apparatus, self-diagnosis method, and program
JPS6320666A (en) document processing device
US5442743A (en) Electronic device for calculating and displaying a matrix
EP1701242B1 (en) Handheld electronic device with word correction facility
KR101141728B1 (en) Apparatus and method for inputing characters in small eletronic device
JP3961174B2 (en) Character input device and recording medium recording character input program
JP2007026349A (en) Character input device and character input program
JP2008250438A (en) Formula arithmetic device and formula calculation program
JP3263211B2 (en) Character processing method and device
JPH0695826A (en) Input operation guide device for information processing device
JP5022588B2 (en) Destination information input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230602

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240625

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240705

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20240903

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241001

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20241009

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241118

R150 Certificate of patent or registration of utility model

Ref document number: 7601063

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150