JP5028644B2 - Electronic computer and computer control program - Google Patents

Electronic computer and computer control program Download PDF

Info

Publication number
JP5028644B2
JP5028644B2 JP2006354886A JP2006354886A JP5028644B2 JP 5028644 B2 JP5028644 B2 JP 5028644B2 JP 2006354886 A JP2006354886 A JP 2006354886A JP 2006354886 A JP2006354886 A JP 2006354886A JP 5028644 B2 JP5028644 B2 JP 5028644B2
Authority
JP
Japan
Prior art keywords
instruction
calculation
cursor
program
command
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
JP2006354886A
Other languages
Japanese (ja)
Other versions
JP2008165522A (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 JP2006354886A priority Critical patent/JP5028644B2/en
Publication of JP2008165522A publication Critical patent/JP2008165522A/en
Application granted granted Critical
Publication of JP5028644B2 publication Critical patent/JP5028644B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、入力された計算プログラムを表示すると共に当該計算プログラムを実行しその実行結果を表示出力する電子式計算機およびその計算機制御プログラムに関する。   The present invention relates to an electronic computer that displays an input calculation program, executes the calculation program, and displays and outputs the execution result, and a computer control program thereof.

例えばプログラム電卓と称される小型電子式計算機では、単純な四則演算機能だけでなく、様々な種類の関数計算機能やプログラミング計算機能をも有している。   For example, a small electronic calculator called a program calculator has not only a simple four arithmetic operation function but also various kinds of function calculation functions and programming calculation functions.

このプログラム電卓によるプログラミング計算処理では、複数のコマンドで構成された命令を使うことでループ処理や分岐処理を行うことができ、例えばループ処理では、For文(For〜To〜Step〜Next)、While文(While〜WhileEnd)、Do文(Do〜LpWhile)、条件分岐処理では、If文(If〜Then〜Else〜IfEnd)を使用できる。   In programming calculation processing by this program calculator, loop processing and branch processing can be performed by using an instruction composed of a plurality of commands. For example, in the loop processing, a For statement (For-To-Step-Next), While, If statements (If to Then to Else to IfEnd) can be used in statements (While to WhileEnd), Do statements (Do to LpWhile), and conditional branch processing.

For文は、設定した初期値から終了値までの間で指定した刻み幅分の繰り返し処理を行う命令であり、その書式は「For初期値 To終了値 Step刻み幅;ループさせる処理;Next」、このFor文の終了コマンドは「Next」である。   The For statement is an instruction for performing a repetition process for a specified step size between a set initial value and an end value, and the format is “For initial value To end value Step step size; loop processing; Next”, The command for ending this For statement is “Next”.

While文は、指定した条件が真の間で繰り返し処理を行う命令であり、その書式は「While条件;ループさせる処理;WhileEnd」、このWhile文の終了コマンドは「WhileEnd」である。   The While statement is an instruction that repeatedly performs processing while the specified condition is true. The format of the statement is “while condition; processing to loop; while end”, and the end command of this while statement is “while end”.

Do文は、指定した条件が真の間で繰り返し処理を行う命令であり、その書式は「Do;ループさせる処理;LpWhile条件」、このDo文の終了コマンドは「LpWhile条件」である。   The Do statement is an instruction that repeatedly performs processing while the specified condition is true, and its format is “Do; loop processing; LpWille condition”, and the end command of this Do statement is “LpWhile condition”.

If文は、分岐条件が真の時は「Then」以降の処理を、偽の時は「Else」以降の処理を行う命令であり、その書式は「If条件 Then真の時の処理 Else偽の時の処理 IfEnd」、このIf文の終了コマンドは「IfEnd」である。   The If statement is an instruction that performs processing after “Then” when the branch condition is true, and processing after “Else” when the branch condition is false, and its format is “processing when the If condition When is true. Processing of time “IfEnd”, the end command of this If statement is “IfEnd”.

従来、このようなプログラム電卓において、複数のコマンドで構成されるループ処理や分岐命令処理を使ったプログラムを入力表示あるいは編集表示すると、その表示エリアが例えば1行表示と小さいために、当該入力中あるいは編集中の位置に直近のプログラム部分しか表示されず、その前後に続くプログラムが表示エリアに収まらずに途切れてしまう。このため、当該入力中あるいは編集中のプログラム部分がどの命令中での処理の中にいるのかが分かり難く、左右キーを操作してプログラムを移動表示させその命令を確認しなければならない問題がある。   Conventionally, in such a program calculator, when a program using a loop process or a branch instruction process composed of a plurality of commands is input-displayed or edited-displayed, the display area is small, for example, one line display. Alternatively, only the most recent program portion is displayed at the position being edited, and the program that continues before and after the program portion is not fit in the display area and is interrupted. For this reason, it is difficult to determine which instruction is being processed during the input or editing, and there is a problem that the instruction must be confirmed by operating the left and right keys to move and display the program. .

一方で、現在の計算モードが何に指定されているかをシンボル表示してユーザに報知する機能を有する従来の電卓として、換算計算を指定する1つの専用指定キーと換算計算であることを示す1つの専用シンボル表示を加えるだけで、キーの個数に依存せずに多数の換算計算機能を数値キーのみで実行することができる関数電卓がある(例えば、特許文献1参照。)。
特開平05−307524号公報
On the other hand, as a conventional calculator having a function of displaying a symbol indicating what the current calculation mode is designated and notifying the user, one dedicated designation key for designating conversion calculation and 1 representing conversion calculation There is a scientific calculator that can execute a large number of conversion calculation functions only with numerical keys without adding to the number of keys, only by adding one dedicated symbol display (see, for example, Patent Document 1).
JP 05-307524 A

しかしながら、前記従来の関数電卓に搭載されたシンボル表示機能は、換算計算を指定する1つの専用指定キーにより指定された換算計算モードであることを専用シンボル表記によって表示するだけのものであり、入力中あるいは編集中にあるプログラム部分がどの命令中での処理の中にいるのかが分かるように表記するものとは全く異なり、これを応用して前記従来のプログラム電卓にある問題を解決することはできない。   However, the symbol display function installed in the above-mentioned conventional scientific calculator is only to display the conversion calculation mode designated by one dedicated designation key for designating the conversion calculation by the dedicated symbol notation, and input. It is completely different from what is written so that the program part being edited or being edited is in the process of which instruction, and applying this can solve the problem in the conventional program calculator Can not.

本発明は、このような課題に鑑みなされたもので、プログラムの入力中あるいは編集中におけるプログラム部分が何れの命令部分にあるかを明確に確認することが可能になる電子式計算機およびその計算機制御プログラムを提供することを目的とする。   The present invention has been made in view of such a problem, and an electronic computer and a computer control thereof capable of clearly confirming which command part is in a program part during program input or editing The purpose is to provide a program.

本発明に係る電子式計算機は、表示部上のカーソルをユーザ操作に応じて移動表示可能なカーソル表示制御手段を備えた電子式計算機であって、ループ処理命令または条件分岐処理命令を含む一連の計算命令を入力する計算命令入力手段と、この計算命令入力手段により入力された計算命令を前記表示部上のカーソル位置に応じて表示させる計算命令表示制御手段と、前記計算命令入力手段により入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断する命令範囲判断手段と、この命令範囲判断手段によるループ処理命令または条件分岐処理命令の範囲の判断に基づいて、前記表示部上のカーソル位置に対応する計算命令の位置がループ処理命令または条件分岐処理命令に対応する位置であるか否かを判定するカーソル位置命令判定手段と、このカーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置がループ処理命令または条件分岐処理命令に対応する位置であると判定された場合に、当該処理命令を示す表示を行わせる処理命令表示制御手段とを備えたことを特徴としている。   An electronic computer according to the present invention is an electronic computer including a cursor display control unit capable of moving and displaying a cursor on a display unit according to a user operation, and includes a series of loop processing instructions or conditional branch processing instructions. Calculation instruction input means for inputting a calculation instruction, calculation instruction display control means for displaying the calculation instruction input by the calculation instruction input means in accordance with the cursor position on the display unit, and input by the calculation instruction input means Instruction range determining means for determining the range of the loop processing instruction or conditional branch processing instruction included in the calculation instruction from the beginning of the calculated instruction to the cursor position, and the loop processing instruction or conditional branch processing instruction of the instruction range determining means Based on the determination of the range, the position of the calculation instruction corresponding to the cursor position on the display unit is determined as a loop processing instruction or a conditional branch processing. A cursor position instruction determining means for determining whether or not the position corresponds to the instruction, and a position corresponding to the loop processing instruction or the conditional branch processing instruction by the cursor position instruction determining means, wherein the position of the calculation instruction corresponding to the cursor position is And a processing command display control means for displaying the processing command when it is determined that the processing command is determined.

また、本発明に係る電子式計算機において、前記処理命令表示制御手段は、前記カーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置が複数の処理命令に対応している位置であると判定された場合には、前記命令範囲判断手段により判断される当該カーソル位置に最も近い範囲の処理命令を示す表示を行わせることを特徴としている。   In the electronic computer according to the present invention, the processing instruction display control means may be such that the position of the calculation instruction corresponding to the cursor position is a position corresponding to a plurality of processing instructions by the cursor position instruction determination means. If it is determined, a display showing the processing command in the range closest to the cursor position determined by the command range determination means is performed.

また、本発明に係る電子式計算機において、前記処理命令表示制御手段は、前記カーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置が複数の処理命令に対応している位置であると判定された場合には、当該複数の処理命令を示す表示を行わせることを特徴としている。   In the electronic computer according to the present invention, the processing instruction display control means may be such that the position of the calculation instruction corresponding to the cursor position is a position corresponding to a plurality of processing instructions by the cursor position instruction determination means. If it is determined, a display showing the plurality of processing instructions is performed.

また、本発明に係る電子式計算機において、前記命令範囲判断手段は、前記カーソル表示制御手段により前記表示部上のカーソルがユーザ操作に応じて移動表示される毎に、前記計算命令入力手段により入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断することを特徴としている。   Further, in the electronic calculator according to the present invention, the command range determination means is input by the calculation command input means each time the cursor on the display unit is moved and displayed according to a user operation by the cursor display control means. A range of a loop processing instruction or a conditional branch processing instruction included in the calculation instruction is determined from the head of the calculated calculation instruction to the cursor position.

また、本発明に係る電子式計算機において、前記命令範囲判断手段は、前記計算命令入力手段によりループ処理命令または条件分岐処理命令を含む一連の計算命令が入力される毎に、当該入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断することを特徴としている。   Further, in the electronic calculator according to the present invention, the instruction range determination means is configured to input the calculation calculation each time a series of calculation instructions including a loop processing instruction or a conditional branch processing instruction is input by the calculation instruction input means. A range of a loop processing instruction or a conditional branch processing instruction included in the calculation instruction from the head of the instruction to the cursor position is determined.

本発明によれば、プログラムの入力中あるいは編集中におけるプログラム部分が何れの命令部分にあるかを明確に確認することが可能になる電子式計算機およびその計算機制御プログラムを提供できる。   According to the present invention, it is possible to provide an electronic computer and its computer control program that can clearly check in which instruction part the program part is being entered or edited.

以下図面により本発明の実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の実施形態に係る電子式計算機(プログラム電卓)10の電子回路の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an electronic circuit of an electronic calculator (program calculator) 10 according to an embodiment of the present invention.

この電子式計算機10の電子回路は、コンピュータ等からなる制御部(CPU)11を備えている。   The electronic circuit of the electronic calculator 10 includes a control unit (CPU) 11 made up of a computer or the like.

制御部(CPU)11は、キー入力部12から入力されるキー入力データに応じて、ROM14に予め記憶されているシステムプログラムを起動させ、あるいは外部記憶媒体15に予め記憶されている計算機制御プログラムを記憶媒体読み取り部16により読み取らせて起動させ、あるいは通信制御部17によって他のコンピュータ端末から通信ネットワークNを介して受信された計算機制御プログラムを起動させ、RAM18をワークメモリとして回路各部の動作制御を行なうものである。   The control unit (CPU) 11 activates a system program stored in advance in the ROM 14 in accordance with key input data input from the key input unit 12 or a computer control program stored in advance in the external storage medium 15. Is read by the storage medium reading unit 16, or the computer control program received from the other computer terminal via the communication network N is started by the communication control unit 17, and the operation control of each part of the circuit is performed using the RAM 18 as a work memory. Is to do.

この制御部(CPU)11には、前記キー入力部12、ROM14、RAM18、記録媒体読み取り部16、通信制御部17が接続され、また、液晶表示部13が表示駆動回路19を介して接続される。   The control unit (CPU) 11 is connected to the key input unit 12, ROM 14, RAM 18, recording medium reading unit 16, and communication control unit 17, and a liquid crystal display unit 13 is connected via a display drive circuit 19. The

ROM14には、本電子式計算機10の電子回路における全体の処理を司るシステムプログラムデータが予め記憶されると共に、通常計算モード処理、プログラミング計算モード処理等、各動作モードの選択設定メニュー画面において設定可能なそれぞれの動作モードに対応した制御プログラムデータも予め記憶される。   The ROM 14 stores in advance system program data for managing the entire processing in the electronic circuit of the electronic computer 10, and can be set on a selection setting menu screen for each operation mode such as normal calculation mode processing and programming calculation mode processing. Control program data corresponding to each operation mode is also stored in advance.

そして、前記プログラミング計算モード処理を司る制御プログラムデータには、ユーザ入力されるプログラムデータ(計算命令)を新規登録/編集・表示するための制御機能や、当該プログラムデータの新規入力/編集に際してのプログラム表示に伴い当該プログラム上のカーソル位置に対応したプログラム部分が何れの命令部分であるかをその命令先頭のコマンド(For,While,Do,Ifなど)によりシンボル表示してユーザ報知するための制御機能、入力/編集されたプログラムを実行するための制御機能などが備えられる。   The control program data for controlling the programming calculation mode process includes a control function for newly registering / editing / displaying program data (calculation instructions) input by the user, and a program for newly inputting / editing the program data. A control function for informing the user of which instruction part (For, While, Do, If, etc.) is displayed as a symbol by a command at the head of the instruction (For, While, Do, If, etc.) as to which instruction part corresponds to the cursor position on the program. And a control function for executing the input / edited program.

キー入力部12には、動作モードを選択設定するための「MENU」キー、任意の計算式を入力したり、任意の計算プログラムを入力・編集したりするための数値・記号・文字入力キー、演算子キー、計算式による計算の実行やプログラムの実行を指示するための「EXE」キー、表示画面上での項目選択やカーソルC(図6,図8,図10参照)を移動表示させるためのカーソルキー等が備えられる。   The key input unit 12 includes a “MENU” key for selecting and setting an operation mode, a numerical value / symbol / character input key for inputting an arbitrary calculation formula, and inputting / editing an arbitrary calculation program, To move and display an operator key, an “EXE” key for instructing execution of a calculation or calculation using a calculation formula, an item selection on the display screen, and a cursor C (see FIGS. 6, 8, and 10) Cursor keys and the like.

図2は、前記電子式計算機(プログラム電卓)10のRAM18に確保される主要なデータメモリの構成を示す図である。   FIG. 2 is a diagram showing a configuration of a main data memory secured in the RAM 18 of the electronic calculator (program calculator) 10.

RAM18には、表示データメモリ18a、モードデータメモリ18b、入力データメモリ(入力バッファ)18c、入力式メモリ18d、式計算結果メモリ18e、プログラムメモリ18f、プログラム実行結果メモリ18g、カーソル位置メモリ18h、プログラムシンボル設定フラグメモリ18i、フラグ退避メモリ18j、及びワークエリア18k等の各種のデータメモリが備えられる。   The RAM 18 includes a display data memory 18a, a mode data memory 18b, an input data memory (input buffer) 18c, an input expression memory 18d, an expression calculation result memory 18e, a program memory 18f, a program execution result memory 18g, a cursor position memory 18h, a program Various data memories such as a symbol setting flag memory 18i, a flag saving memory 18j, and a work area 18k are provided.

表示データメモリ18aには、例えば通常計算モードでは入力・編集される数式データや計算結果データ、プログラミング計算モードでは入力・編集されるプログラムデータやプログラム実行結果データなど、前記各種の動作モードにおいて液晶表示部13に表示すべき表示データがビットマップのパターンデータとして展開されて記憶される。   In the display data memory 18a, for example, mathematical expression data and calculation result data input / edited in the normal calculation mode, and program data and program execution result data input / edited in the programming calculation mode are displayed in the liquid crystal display in the various operation modes. Display data to be displayed on the unit 13 is expanded and stored as bitmap pattern data.

モードデータメモリ18bには、前記動作モードの選択設定メニュー画面において設定可能な各種の動作モードを示すモードデータが記憶される。   The mode data memory 18b stores mode data indicating various operation modes that can be set on the operation mode selection setting menu screen.

入力データメモリ(入力バッファ)18cには、キー入力部12のキー操作に伴い入力されるキーコードのデータが当該キー操作毎に一時記憶されたり、プログラミング処理に伴うプログラムの入力/編集に関わるプログラムデータが一時記憶されたりする。   In the input data memory (input buffer) 18c, key code data input in accordance with the key operation of the key input unit 12 is temporarily stored for each key operation, or a program related to program input / editing associated with programming processing. Data is temporarily stored.

入力式メモリ18dには、通常計算モードにおいてキー入力された任意の数式(計算式)データが記憶される。   The input formula memory 18d stores arbitrary mathematical formula (calculation formula) data key-input in the normal calculation mode.

式計算結果メモリ18eには、前記入力式メモリ18dに記憶された数式(計算式)データに基づき演算(計算)処理された演算(計算)結果のデータが記憶される。   The formula calculation result memory 18e stores data of calculation (calculation) results obtained by calculation (calculation) processing based on mathematical formula (calculation formula) data stored in the input formula memory 18d.

プログラムメモリ18fには、プログラミング計算モードにおいて入力/編集されてなる各プログラムのデータファイルが記憶されて登録される。   In the program memory 18f, a data file of each program input / edited in the programming calculation mode is stored and registered.

プログラム実行結果メモリ18gには、前記プログラムメモリ18fに記憶されたプログラムデータに基づき演算(計算)処理された実行結果のデータが記憶される。   The program execution result memory 18g stores execution result data that has been calculated (calculated) based on the program data stored in the program memory 18f.

カーソル位置メモリ18hには、表示データメモリ18aに記憶されて表示部13に表示出力される表示データ上でのカーソルCの位置データが記憶されるもので、例えば数式データの入力・表示状態では、表示されている数式中のカーソル位置を示すデータが前記入力式メモリ18dに記憶された数式内の各文字・記号の位置に対応するデータとして記憶され、またプログラムデータの入力/編集・表示状態では、表示されているプログラム中のカーソル位置を示すデータが前記プログラムメモリ18fから入力データメモリ18cに読み出されたプログラムデータ内の各文字・記号の位置に対応するデータとして記憶される。   The cursor position memory 18h stores the position data of the cursor C on the display data stored in the display data memory 18a and displayed on the display unit 13. For example, in the input / display state of mathematical formula data, Data indicating the cursor position in the displayed formula is stored as data corresponding to the position of each character / symbol in the formula stored in the input formula memory 18d, and in the program data input / edit / display state The data indicating the cursor position in the displayed program is stored as data corresponding to the position of each character / symbol in the program data read from the program memory 18f to the input data memory 18c.

プログラムシンボル設定フラグメモリ18iには、プログラムデータの入力/編集・表示状態におけるカーソルC位置に対応したコマンド(シンボル)の表示処理において、当該プログラム上で前記カーソルCがその先頭から順次移動して位置するところのプログラム部分に掛かるプログラム命令に対応したコマンド(シンボル)を示すフラグがセットされる。   In the program symbol setting flag memory 18i, in the process of displaying a command (symbol) corresponding to the position of the cursor C in the program data input / editing / displaying state, the cursor C is sequentially moved from its head on the program. A flag indicating a command (symbol) corresponding to the program instruction applied to the program portion is set.

フラグ退避メモリ18jには、前記プログラムデータの入力/編集・表示状態におけるカーソルC位置に対応したコマンド(シンボル)の表示処理において、例えば複数重なったループ処理命令など、該当位置における命令が二重,三重,…となる場合に前記プログラムシンボル設定フラグメモリ18iに既にセットされていたコマンド(シンボル)を示すフラグが順次退避されてセットされる。   In the flag saving memory 18j, in the display processing of the command (symbol) corresponding to the cursor C position in the program data input / editing / displaying state, for example, a plurality of overlapping loop processing instructions, etc. In the case of triple,..., A flag indicating a command (symbol) already set in the program symbol setting flag memory 18i is sequentially saved and set.

ワークエリア18kには、各種動作モードの制御処理に伴ない制御部(CPU)11により入出力されるデータが一時的に記憶される。   In the work area 18k, data input / output by the control unit (CPU) 11 in accordance with control processing of various operation modes is temporarily stored.

次に、前記構成の電子式計算機(プログラム電卓)10によるプログラミング計算モードでのプログラムデータの入力/編集・表示機能やこれに伴うシンボル表示機能について説明する。   Next, the program data input / editing / display function in the programming calculation mode by the electronic calculator (program calculator) 10 having the above-described configuration and the symbol display function associated therewith will be described.

図3は、前記電子式計算機(プログラム電卓)10によるプログラムデータの入力/編集・表示処理を示すフローチャートである。   FIG. 3 is a flowchart showing program data input / editing / display processing by the electronic calculator (program calculator) 10.

先ず、キー入力部12に対するユーザ操作に伴い新規のプログラム入力が指定されたのか、またはプログラム修正が指定されたのかが判断される(ステップS1)。   First, it is determined whether a new program input is designated or a program modification is designated in accordance with a user operation on the key input unit 12 (step S1).

ここで、プログラム修正が指定されたと判断された場合には(ステップS1(修正))、ユーザ操作に応じて指定されたファイルNo.のプログラムデータがRAM18内のプログラムメモリ18fから読み出され、入力データメモリ(入力バッファ)18cに記憶される(ステップS2,S3)。   If it is determined that program correction has been specified (step S1 (correction)), the file number specified in accordance with the user operation is set. Are read from the program memory 18f in the RAM 18 and stored in the input data memory (input buffer) 18c (steps S2 and S3).

すると、表示部13の表示画面に対するカーソルCの位置がその先頭位置に設定表示されると共に(ステップS4)、前記入力データメモリ18cに読み出されたプログラムデータがその先頭から表示部13に表示される(ステップS5)。   Then, the position of the cursor C with respect to the display screen of the display unit 13 is set and displayed at the head position (step S4), and the program data read to the input data memory 18c is displayed on the display unit 13 from the head. (Step S5).

一方、前記ステップS1において、新規のプログラム入力が指定されたと判断された場合には(ステップS1(新規))、表示部13の表示画面に対するカーソルCの位置がその先頭位置に設定表示されると共に(ステップS4)、データ未入力の入力データメモリ18cに入力されるプログラムデータの表示部13に対する表示位置がその先頭データからに設定される(ステップS5)。   On the other hand, if it is determined in step S1 that a new program input is designated (step S1 (new)), the position of the cursor C with respect to the display screen of the display unit 13 is set and displayed at the head position. (Step S4), the display position of the program data input to the input data memory 18c not yet input with respect to the display unit 13 is set from the head data (Step S5).

そして、キー入力部12に対するユーザ操作に応じて、データ入力キーが操作されたと判断された場合には(ステップS6(データキー))、当該入力されたキーに応じたデータが入力データメモリ(入力バッファ)18cに記憶されると共に(ステップS7)、前記表示部13の表示画面上のカーソルCの位置に対応させてそのデータが入力表示される(ステップS8)。   When it is determined that the data input key has been operated in response to a user operation on the key input unit 12 (step S6 (data key)), the data corresponding to the input key is stored in the input data memory (input). (Buffer) 18c (step S7), and the data is input and displayed in correspondence with the position of the cursor C on the display screen of the display unit 13 (step S8).

また、キー入力部12に対するユーザ操作に応じて、カーソルキーが操作されたと判断された場合には(ステップS6(カーソルキー))、前記表示部13の表示画面上のカーソルCが当該カーソル操作の方向に応じて移動表示され(ステップS9)、当該カーソルCの移動後の位置に対応したプログラムデータが前記入力データメモリ18cから読み出されて表示される(ステップS10)。つまり、表示画面(13)上の先頭位置〜末尾位置間でカーソルCが移動表示される場合には、当該表示画面(13)上のプログラムデータはそのまま表示され、同表示画面(13)上の先頭位置または末尾位置にカーソルCが移動されて更に前方向または後方向のカーソルキーが操作された場合には、当該表示画面(13)上には同方向に応じたプログラムデータが前記入力データメモリ18cから読み出されスクロールされて表示される。   When it is determined that the cursor key has been operated in response to a user operation on the key input unit 12 (step S6 (cursor key)), the cursor C on the display screen of the display unit 13 performs the cursor operation. The movement data is displayed according to the direction (step S9), and the program data corresponding to the position after the movement of the cursor C is read from the input data memory 18c and displayed (step S10). That is, when the cursor C is moved and displayed between the first position and the last position on the display screen (13), the program data on the display screen (13) is displayed as it is, and the program data on the display screen (13) is displayed. When the cursor C is moved to the start position or the end position and the forward or backward cursor key is operated, program data corresponding to the same direction is displayed on the display screen (13) in the input data memory. It is read from 18c and scrolled for display.

また、前記キー入力部12のデータ入力キーまたはカーソルキー以外の他のキーが操作されたと判断された場合には(ステップS6(他のキー))、当該他のキー操作に応じた処理が行われる(ステップS11,S12)。   If it is determined that a key other than the data input key or the cursor key of the key input unit 12 has been operated (step S6 (other key)), processing corresponding to the other key operation is performed. (Steps S11 and S12).

そして、前記各キー操作に応じたプログラム入力/編集処理が行われる毎に、図4におけるシンボル表示処理SAに移行され、カーソルCが位置するところのプログラム部分に掛かるプログラム命令に対応したコマンド(シンボル)の表示が行われる。   Each time the program input / editing process corresponding to each key operation is performed, the process shifts to the symbol display process SA in FIG. 4 and a command (symbol) corresponding to the program instruction applied to the program part where the cursor C is located. ) Is displayed.

図4は、前記電子式計算機(プログラム電卓)10によるプログラムデータの入力/編集・表示処理に伴うシンボル表示処理を示すフローチャートである。   FIG. 4 is a flowchart showing symbol display processing accompanying program data input / editing / display processing by the electronic calculator (program calculator) 10.

このシンボル表示処理が起動されると、前記入力データメモリ(入力バッファ)18cに記憶されているプロクラムデータがその先頭データから前記表示部13上のカーソルCの位置直前のデータまで順次取得され(ステップA1)、1つのデータが取得される毎にステップA2以降の処理に移行される。   When this symbol display process is started, the program data stored in the input data memory (input buffer) 18c is sequentially acquired from the head data to the data immediately before the position of the cursor C on the display unit 13 (step S1). A1) Every time one piece of data is acquired, the process proceeds to step A2 and subsequent steps.

先ず、前記ステップA1においてプログラムデータの先頭から1つのデータが取得されると、当該取得データが各プログラム命令の書式先頭になる何れかのコマンド(For,While,Do,If)コードであるか否か判断される(ステップA2)。   First, when one data is acquired from the head of the program data in the step A1, whether the acquired data is any command (For, While, Do, If) code that becomes the head of the format of each program instruction or not. Is determined (step A2).

ここで、何れのプログラム命令の先頭コマンドコードでもないと判断された場合には(ステップA2(No))、同取得データが各プログラム命令の書式終了になる何れかのコマンド(Next,WhileEnd,LpWhile,IfEnd)コードであるか否か判断される(ステップA3)。   Here, if it is determined that it is not the head command code of any program instruction (step A2 (No)), any command (Next, WhileEnd, LpWile) in which the acquired data ends the format of each program instruction. , IfEnd) code is determined (step A3).

ここでさらに、何れのプログラム命令の終了コマンドコードでもないと判断された場合には(ステップA3(No))、シンボル表示判定すべきプログラムデータの位置が次のデータ位置に設定され(ステップA4)、当該設定位置が前記カーソルCの位置を超えた次のデータ位置に到達したと判断される(ステップA5(Yes))までは、前記入力データメモリ(入力バッファ)18cからのプログラムデータの順次取得処理が繰り返される(ステップA5(No)→A1)。   If it is further determined that it is not an end command code of any program instruction (step A3 (No)), the position of the program data to be determined for symbol display is set to the next data position (step A4). The program data is sequentially acquired from the input data memory (input buffer) 18c until it is determined that the set position has reached the next data position beyond the position of the cursor C (step A5 (Yes)). The process is repeated (step A5 (No) → A1).

そして、前記ステップA1において順次先頭から取得されるプログラムデータについて、当該取得データが各プログラム命令の書式先頭になる何れかのコマンド(For,While,Do,If)コードであると判断された場合には(ステップA2(Yes))、RAM18内のプログラムシンボル設定フラグメモリ18iにおいて既に何れかのプログラム命令に対応したコマンド(シンボル)を示すフラグがセットされているか否か判断される(ステップA6)。   If it is determined that the program data sequentially acquired from the head in step A1 is any command (For, While, Do, If) code that is the head of the format of each program instruction. (Step A2 (Yes)), it is determined whether or not a flag indicating a command (symbol) corresponding to any program instruction is already set in the program symbol setting flag memory 18i in the RAM 18 (Step A6).

ここで、前記プログラムシンボル設定フラグメモリ18iにおいて現在何れかのプログラム命令に対応したコマンド(シンボル)を示すフラグはセットされてないと判断されると(ステップA6(No))、今回取得されたプログラムデータの命令に対応したコマンド(シンボル)を示すフラグがセットされる(ステップA7)。   Here, if it is determined that a flag indicating a command (symbol) corresponding to any program instruction is not currently set in the program symbol setting flag memory 18i (step A6 (No)), the program acquired this time A flag indicating a command (symbol) corresponding to the data command is set (step A7).

この後、前記ステップA1〜A5→A1の処理が繰り返された後に、今回取得されたプログラムデータについて再び各プログラム命令の書式先頭になる何れかのコマンド(For,While,Do,If)コードであると判断された場合には(ステップA2(Yes))、前記プログラムシンボル設定フラグメモリ18iにおいて既にプログラム命令に対応したコマンド(シンボル)を示すフラグがセットされていると判断されるので(ステップA6(Yes))、当該フラグメモリ18iにセットされているコマンド(シンボル)を示すフラグはフラグ退避メモリ18jに退避されてセットされる(ステップA8)。   After that, after the processing of steps A1 to A5 → A1 is repeated, any command (For, While, Do, If) code which becomes the format head of each program instruction again for the program data acquired this time. (Step A2 (Yes)), it is determined that a flag indicating a command (symbol) corresponding to a program instruction is already set in the program symbol setting flag memory 18i (step A6 (step A6 (Yes)). Yes)), the flag indicating the command (symbol) set in the flag memory 18i is saved and set in the flag saving memory 18j (step A8).

そして、前記プログラムシンボル設定フラグメモリ18iには、今回重ねて取得されたプログラムデータの命令に対応したコマンド(シンボル)を示すフラグがセットされる(ステップA7)。   In the program symbol setting flag memory 18i, a flag indicating a command (symbol) corresponding to the command of the program data acquired this time is set (step A7).

一方、前記ステップA3において、今回取得されたプログラムデータがプログラム命令の書式終了になる何れかのコマンド(Next,WhileEnd,LpWhile,IfEnd)コードであると判断された場合には(ステップA3(Yes))、当該命令終了のコマンドコードが前記プログラムシンボル設定フラグメモリ18iに現在セットされているフラグが示す命令先頭のコマンド(シンボル)に対応する終了コマンドであるか判断確認され(ステップA9(Yes))、同フラグメモリ18iにセットされているコマンド(シンボル)示すフラグが消去される(ステップA10)。   On the other hand, if it is determined in the step A3 that the program data acquired this time is any command (Next, WhileEnd, LpWile, IfEnd) code that ends the format of the program instruction (step A3 (Yes)). It is determined whether or not the command code for ending the instruction is an ending command corresponding to the command (symbol) at the head of the instruction indicated by the flag currently set in the program symbol setting flag memory 18i (step A9 (Yes)). The flag indicating the command (symbol) set in the flag memory 18i is erased (step A10).

この際、フラグ退避メモリ18jに退避セットされているより広範囲なプログラム部分に掛けられた命令に対応したコマンド(シンボル)示すフラグがある場合には、当該退避セットされているフラグは前記プログラムシンボル設定フラグメモリ18iに戻されてセットされる(ステップA10)。   At this time, if there is a flag indicating a command (symbol) corresponding to an instruction applied to a wider program portion saved and set in the flag saving memory 18j, the saved flag is set as the program symbol setting. It is returned to the flag memory 18i and set (step A10).

このように、前記ステップA1〜A10での処理により、入力データメモリ(入力バッファ)18cから順次取得されるプログラムデータについて、命令先頭のコマンドコードであると判断された場合には当該コマンド(シンボル)示すフラグをセットし、命令終了のコマンドコードであると判断された場合には対応する命令先頭のコマンド(シンボル)示すフラグを消去する命令の範囲を判断して行うシンボル表示処理において、シンボル表示判定すべきプログラムデータの取得設定位置が(ステップA4)、現在表示中のカーソルCに対応する位置を超えた次のデータ位置に到達したと判断された場合には(ステップA5(Yes))、前記プログラムシンボル設定フラグメモリ18iにフラグがセットされているか否か判断される(ステップA11)。   As described above, when it is determined that the program data sequentially obtained from the input data memory (input buffer) 18c is the command code at the head of the instruction by the processing in the steps A1 to A10, the command (symbol). In the symbol display process that is performed by determining the range of the instruction that deletes the flag indicating the command (symbol) at the head of the corresponding instruction when it is determined that the command code indicates that the instruction has ended. If it is determined that the acquisition setting position of the program data to be reached (step A4) has reached the next data position beyond the position corresponding to the currently displayed cursor C (step A5 (Yes)), It is determined whether or not a flag is set in the program symbol setting flag memory 18i (S -Up A11).

ここで、前記プログラムシンボル設定フラグメモリ18iにフラグがセットされていると判断された場合には(ステップA11(Yes))、当該フラグにより示される現在カーソル位置に対応したプログラム命令のコマンド(シンボル)が、例えば図6,図8,図10の(A)〜(K)に示すように、プログラム入力/編集・表示中の表示画面(13)上に表示される(ステップA12)。   If it is determined that the flag is set in the program symbol setting flag memory 18i (step A11 (Yes)), the command (symbol) of the program instruction corresponding to the current cursor position indicated by the flag. Is displayed on the display screen (13) during program input / editing / display as shown in FIGS. 6, 8, and 10A to 10K (step A12).

図5は、前記プログラムデータの入力/編集・表示処理に伴い入力データメモリ(入力バッファ)18cに読み出されたFor文を含むプログラムデータの一例(その1)を示す図である。   FIG. 5 is a diagram showing an example (part 1) of program data including a For sentence read into the input data memory (input buffer) 18c in accordance with the program data input / editing / display process.

図6は、前記図5におけるプログラムデータの表示に伴うカーソルCの移動位置に応じたシンボル表示動作を示す図である。   FIG. 6 is a diagram showing a symbol display operation corresponding to the movement position of the cursor C accompanying the display of the program data in FIG.

ここで、図6(A)〜(D)はそれぞれ、図5で示すプログラムデータ上でカーソルCを(A)(B)(C)(D)に示す位置に移動させた場合の各対応するシンボル表示状態を示している。   Here, FIGS. 6A to 6D respectively correspond to cases where the cursor C is moved to the positions indicated by (A), (B), (C), and (D) on the program data shown in FIG. The symbol display state is shown.

すなわち、図6(A)に示すように、プログラムデータの先頭から順次データ取得判定して何の命令に対応するコマンドコードも記述されてないカーソルCの位置では、プログラムシンボル設定フラグメモリ18iにおいて何のコマンド(シンボル)を示すフラグもセットされていないので、カーソルC位置のプログラム部分に対応した命令のシンボルは何も表示されない(ステップA1〜A5(Yes)→A11(No)→END)。   That is, as shown in FIG. 6A, in the program symbol setting flag memory 18i at the position of the cursor C where data acquisition is determined sequentially from the beginning of the program data and no command code corresponding to any instruction is described. Since no flag indicating the command (symbol) is set, no symbol of the instruction corresponding to the program portion at the cursor C position is displayed (steps A1 to A5 (Yes) → A11 (No) → END).

この後、図6(B)に示すように、For文先頭のコマンドコード「For」の記述位置までカーソルCが移動された場合には、プログラムシンボル設定フラグメモリ18iにおいて当該コマンド(シンボル)「For」を示すフラグがセットされているので、カーソルC位置のプログラム部分に対応した命令のシンボル「For」21が表示される(ステップA1〜A7→A11(Yes)→A12)。   Thereafter, as shown in FIG. 6B, when the cursor C is moved to the description position of the command code “For” at the beginning of the For statement, the command (symbol) “For” is stored in the program symbol setting flag memory 18i. Is set, the instruction symbol “For” 21 corresponding to the program portion at the cursor C position is displayed (steps A1 to A7 → A11 (Yes) → A12).

さらに、図6(C)に示すように、前記For文が掛かっている途中位置までカーソルCが移動された場合には、前記プログラムシンボル設定フラグメモリ18iには当該コマンド(シンボル)「For」を示すフラグがセットされたままとなっているので(ステップA1〜A7→A1〜A5)、カーソルC位置のプログラム部分に対応した命令のシンボル「For」21が継続的に表示される(ステップA5(Yes)→A11(Yes)→A12)。   Further, as shown in FIG. 6C, when the cursor C is moved to the middle position where the For statement is applied, the command (symbol) “For” is stored in the program symbol setting flag memory 18i. Since the flag shown is still set (steps A1 to A7 → A1 to A5), the instruction symbol “For” 21 corresponding to the program portion at the cursor C position is continuously displayed (step A5 ( Yes) → A11 (Yes) → A12).

そして、図6(D)に示すように、前記For文終了のコマンドコード「Next」の記述位置までカーソルCが移動された場合には、前記プログラムシンボル設定フラグメモリ18iにセットされていた当該コマンド(シンボル)「For」を示すフラグは消去されているので(ステップA1〜A3→A9→A10)、現在のカーソルC位置のプログラム部分に対応した命令のシンボルは表示されない(ステップA11(No)→END)。   As shown in FIG. 6D, when the cursor C is moved to the description position of the command code “Next” at the end of the For statement, the command set in the program symbol setting flag memory 18i. (Symbol) Since the flag indicating “For” has been deleted (Steps A1 to A3 → A9 → A10), the symbol of the instruction corresponding to the program portion at the current cursor C position is not displayed (Step A11 (No) → END).

図7は、前記プログラムデータの入力/編集・表示処理に伴い入力データメモリ(入力バッファ)18cに読み出されたFor文中にIf文を含むプログラムデータの一例(その2)を示す図である。   FIG. 7 is a diagram showing an example (part 2) of the program data including the If sentence in the For sentence read to the input data memory (input buffer) 18c in accordance with the program data input / editing / display process.

図8は、前記図7におけるプログラムデータの表示に伴うカーソルCの移動位置に応じたシンボル表示動作を示す図である。   FIG. 8 is a diagram showing a symbol display operation corresponding to the movement position of the cursor C accompanying the display of the program data in FIG.

ここで、図8(E)〜(G)はそれぞれ、図7で示すプログラムデータ上でカーソルCを(E)(F)(G)に示す位置に移動させた場合の各対応するシンボル表示状態を示している。   8E to 8G respectively show the corresponding symbol display states when the cursor C is moved to the positions shown in (E), (F) and (G) on the program data shown in FIG. Is shown.

すなわち、図8(E)に示すように、プログラムデータの先頭から順次データ取得判定してFor文先頭のコマンドコード「For」の記述を過ぎた位置までカーソルCが移動された場合には、プログラムシンボル設定フラグメモリ18iにおいて当該コマンド(シンボル)「For」を示すフラグがセットされているので(ステップA1,A2→A6→A7)、カーソルC位置のプログラム部分に対応した命令のシンボル「For」21が表示される(ステップA11(Yes)→A12)。   That is, as shown in FIG. 8E, when the data acquisition determination is sequentially performed from the beginning of the program data and the cursor C is moved to a position past the description of the command code “For” at the beginning of the For sentence, Since the flag indicating the command (symbol) “For” is set in the symbol setting flag memory 18i (steps A1, A2 → A6 → A7), the symbol “For” 21 of the instruction corresponding to the program part at the cursor C position is set. Is displayed (step A11 (Yes) → A12).

この後、図8(F)に示すように、前記For文中に重ねて含まれるIf文先頭のコマンドコード「If」の記述位置までカーソルCが移動された場合には、プログラムシンボル設定フラグメモリ18iにおいて既にセットされていた前記コマンド(シンボル)「For」を示すフラグはフラグ退避メモリ18jに退避され、当該For文中に新たに重なったコマンド(シンボル)「If」を示すフラグが前記プログラムシンボル設定フラグメモリ18iに新たにセットされるので(ステップA1,A2→A6(Yes)→A8,A7)、カーソルC位置のプログラム部分に対応した最も下位の命令のシンボル「If」22が表示される(ステップA11(Yes)→A12)。   Thereafter, as shown in FIG. 8 (F), when the cursor C is moved to the description position of the command code “If” at the head of the If sentence included in the For sentence, the program symbol setting flag memory 18i The flag indicating the command (symbol) “For” that has already been set in the command is saved in the flag saving memory 18j, and the flag indicating the command (symbol) “If” newly overlapped in the For statement is the program symbol setting flag. Since it is newly set in the memory 18i (steps A1, A2 → A6 (Yes) → A8, A7), the symbol “If” 22 of the lowest instruction corresponding to the program portion at the cursor C position is displayed (step). A11 (Yes) → A12).

そして、図8(G)に示すように、前記For文中にあるIf文終了のコマンドコード「IfEnd」の記述位置までカーソルCが移動された場合には、前記プログラムシンボル設定フラグメモリ18iにセットされていた当該If文先頭のコマンド(シンボル)「If」を示すフラグが消去されると共に、前記フラグ退避メモリ18jに退避されていたFor文先頭のコマンド(シンボル)「For」を示すフラグが前記フラグメモリ18iに戻されるので(ステップA1〜A3→A9→A10)、If文終了後でもFor文の掛かっている現在のカーソルC位置のプログラム部分に対応した命令のシンボル「For」21が再表示される(ステップA11(Yes)→A12)。   Then, as shown in FIG. 8G, when the cursor C is moved to the description position of the command code “IfEnd” at the end of the If statement in the For statement, it is set in the program symbol setting flag memory 18i. The flag indicating the command (symbol) “If” at the head of the If statement that has been deleted is deleted, and the flag indicating the command (symbol) “For” at the top of the For statement that has been saved in the flag saving memory 18j is the flag. Since it is returned to the memory 18i (steps A1 to A3 → A9 → A10), the symbol “For” 21 of the instruction corresponding to the program portion at the current cursor C position where the For statement is applied is redisplayed even after the If statement ends. (Step A11 (Yes) → A12).

なお、前記図7(F)および図8(F)で示したように、表示されているプログラムデータ上のカーソルCの位置が、For文中に含まれるIf文に掛かるプログラム部分にある場合には、前記フラグ退避メモリ18jに退避されたコマンド(シンボル)「For」を示すフラグおよび前記プログラムシンボル設定フラグメモリ18iに新たにセットされた該For文に重なったコマンド(シンボル)「If」を示すフラグの両方に従って、図8(F′)に示すように、その上位の命令であるシンボル「For」21および下位の命令であるシンボル「If」22の両方を並べて表示させることで、現在のカーソル位置に対応したプログラム部分に掛かる命令の詳細を容易に知ることができる。   As shown in FIGS. 7 (F) and 8 (F), when the position of the cursor C on the displayed program data is in the program portion of the If statement included in the For statement. , A flag indicating the command (symbol) “For” saved in the flag saving memory 18j and a flag indicating the command (symbol) “If” overlapped with the For statement newly set in the program symbol setting flag memory 18i As shown in FIG. 8 (F ′), both the symbol “For” 21 which is the higher order instruction and the symbol “If” 22 which is the lower order instruction are displayed side by side to thereby display the current cursor position. It is possible to easily know the details of the instruction applied to the program part corresponding to the above.

図9は、前記プログラムデータの入力/編集・表示処理に伴い入力データメモリ(入力バッファ)18cに読み出されたFor文中にFor文を含むプログラムデータの一例(その3)を示す図である。   FIG. 9 is a diagram showing an example (part 3) of the program data including the For sentence in the For sentence read to the input data memory (input buffer) 18c in accordance with the program data input / editing / display process.

図10は、前記図9におけるプログラムデータの表示に伴うカーソルCの移動位置に応じたシンボル表示動作を示す図である。   FIG. 10 is a diagram showing a symbol display operation corresponding to the movement position of the cursor C accompanying the display of the program data in FIG.

ここで、図10(H)〜(K)はそれぞれ、図9で示すプログラムデータ上でカーソルCを(H)(I)(J)(K)に示す位置に移動させた場合の各対応するシンボル表示状態を示している。   Here, FIGS. 10H to 10K respectively correspond to cases where the cursor C is moved to the positions shown in (H), (I), (J), and (K) on the program data shown in FIG. The symbol display state is shown.

すなわち、図10(H)に示すように、プログラムデータの先頭から順次データ取得判定して最初のFor文先頭のコマンドコード「For」の記述を過ぎた位置までカーソルCが移動された場合には、プログラムシンボル設定フラグメモリ18iにおいて当該コマンド(シンボル)「For」を示すフラグがセットされているので(ステップA1,A2→A6→A7)、カーソルC位置のプログラム部分に対応した最初のFor文のシンボル「For」21aが表示される(ステップA11(Yes)→A12)。   That is, as shown in FIG. 10 (H), when the cursor C is moved to a position past the description of the command code “For” at the beginning of the first For sentence after the data acquisition is determined sequentially from the beginning of the program data. Since the flag indicating the command (symbol) “For” is set in the program symbol setting flag memory 18i (steps A1, A2 → A6 → A7), the first For statement corresponding to the program portion at the cursor C position is set. The symbol “For” 21a is displayed (step A11 (Yes) → A12).

この後、図10(I)に示すように、前記最初のFor文中に重ねて含まれる2つ目のFor文先頭のコマンドコード「For」の記述位置までカーソルCが移動された場合には、プログラムシンボル設定フラグメモリ18iにおいて既にセットされていた前記最初のコマンド(シンボル)「For」を示すフラグはフラグ退避メモリ18jに退避され、当該最初のFor文中に新たに重なった2つ目のコマンド(シンボル)「For」を示すフラグが前記プログラムシンボル設定フラグメモリ18iに新たにセットされるので(ステップA1,A2→A6(Yes)→A8,A7)、カーソルC位置のプログラム部分に対応した2つ目のFor文のシンボル「For」21bが表示される(ステップA11(Yes)→A12)。   Thereafter, as shown in FIG. 10 (I), when the cursor C is moved to the description position of the command code “For” at the top of the second For sentence included in the first For sentence, The flag indicating the first command (symbol) “For” that has already been set in the program symbol setting flag memory 18i is saved in the flag saving memory 18j, and the second command newly overlapped in the first For statement ( Symbol) Since a flag indicating “For” is newly set in the program symbol setting flag memory 18i (steps A1, A2 → A6 (Yes) → A8, A7), two flags corresponding to the program portion at the cursor C position The symbol “For” 21b of the For sentence of the eye is displayed (step A11 (Yes) → A12).

さらに、図10(J)に示すように、前記2つのFor文中にさらに重ねて含まれる3つ目のFor文先頭のコマンドコード「For」の記述位置までカーソルCが移動された場合には、プログラムシンボル設定フラグメモリ18iにおいて既にセットされていた前記2つ目のコマンド(シンボル)「For」を示すフラグもさらにフラグ退避メモリ18jに退避され、当該2つ目のFor文中にさらに重なった3つ目のコマンド(シンボル)「For」を示すフラグが前記プログラムシンボル設定フラグメモリ18iに新たにセットされるので(ステップA1,A2→A6(Yes)→A8,A7)、カーソルC位置のプログラム部分に対応した3つ目のFor文のシンボル「For」21cが表示される(ステップA11(Yes)→A12)。   Furthermore, as shown in FIG. 10 (J), when the cursor C is moved to the description position of the command code “For” at the head of the third For sentence that is further included in the two For sentences, The flag indicating the second command (symbol) “For” that has already been set in the program symbol setting flag memory 18i is also saved in the flag saving memory 18j, and three more overlapped in the second For statement. Since a flag indicating the command (symbol) “For” of the eye is newly set in the program symbol setting flag memory 18i (steps A1, A2 → A6 (Yes) → A8, A7), the program portion at the cursor C position is displayed. The corresponding symbol “For” 21c of the third For sentence is displayed (step A11 (Yes) → A 2).

そして、図10(K)に示すように、前記2つのFor文中にさらに重ねてある3つ目のFor文終了のコマンドコード「Next」の記述位置までカーソルCが移動された場合には、前記プログラムシンボル設定フラグメモリ18iにセットされていた当該3つ目のFor文先頭のコマンド(シンボル)「For」を示すフラグが消去されると共に、前記フラグ退避メモリ18jに退避されていた2つ目のFor文先頭のコマンド(シンボル)「For」を示すフラグが前記フラグメモリ18iに戻されるので(ステップA1〜A3→A9→A10)、3つ目のFor文終了後でも未だFor文の掛かっている現在のカーソルC位置のプログラム部分に対応した2つ目のFor文のシンボル「For」21bが再表示される(ステップA11(Yes)→A12)。   Then, as shown in FIG. 10 (K), when the cursor C is moved to the description position of the command code “Next” at the end of the third For statement further superimposed in the two For statements, The flag indicating the command (symbol) “For” at the head of the third For statement that has been set in the program symbol setting flag memory 18i is erased, and the second that has been saved in the flag saving memory 18j. Since the flag indicating the command (symbol) “For” at the beginning of the For sentence is returned to the flag memory 18i (steps A1 to A3 → A9 → A10), the For sentence is still applied even after the third For sentence ends. The symbol “For” 21b of the second For statement corresponding to the program portion at the current cursor C position is displayed again (step A1). (Yes) → A12).

なお、前記図10(H)〜図10(K)で示したように、表示されているプログラムデータ上のカーソルCの位置が、最初のFor文中に含まれる2つ目,3つ目の重なった同一命令であるFor文に掛かるプログラム部分にある場合には、各For文に伴うループ変数A,B,CについてカーソルCの位置の先のプログラムデータも判定確認し、シンボル「ForA」を示すフラグ、シンボル「ForB」を示すフラグ、シンボル「ForC」を示すフラグとしてセットあるいは退避させておくことで、現在のカーソル位置に対応したプログラム部分に掛かる重なった同一命令の詳細を容易に知ることができる。   As shown in FIGS. 10H to 10K, the position of the cursor C on the displayed program data overlaps with the second and third included in the first For sentence. In the case of the program portion associated with the For statement which is the same instruction, the program data ahead of the position of the cursor C is also checked for the loop variables A, B and C accompanying each For statement, and the symbol “ForA” is indicated. By setting or saving as a flag, a flag indicating the symbol “ForB”, and a flag indicating the symbol “ForC”, it is possible to easily know the details of the same overlapping instruction applied to the program portion corresponding to the current cursor position. it can.

しかも、前記図10(I)〜図10(K)で示したように、表示されているプログラムデータ上のカーソルCの位置が、最初のFor文中に含まれる2つ目のFor文に掛かるプログラム部分にあったり、さらに当該2つ目のFor文中に含まれる3つ目のFor文に掛かるプログラム部分にあったりした場合には、前記フラグ退避メモリ18jに退避されたコマンド(シンボル)「ForA」や「ForB」を示すフラグおよび前記プログラムシンボル設定フラグメモリ18iに新たにセットされた該1つ目や2つ目のFor文に重なった3つ目のFor文のコマンド(シンボル)「ForC」を示すフラグのそれぞれに従って、図10(I′)〜図10(K′)に示すように、その上位の命令であるシンボル「ForA」21Aから下位の命令であるシンボル「ForC」21Cまでを並べて表示させることで、現在のカーソル位置に対応したプログラム部分に掛かる命令の詳細を容易に知ることができる。   Moreover, as shown in FIGS. 10I to 10K, the program in which the position of the cursor C on the displayed program data is applied to the second For sentence included in the first For sentence. If it is in a portion or in a program portion related to the third For statement included in the second For statement, the command (symbol) “ForA” saved in the flag saving memory 18j And a command (symbol) “ForC” of the third For statement that overlaps the first and second For statements newly set in the program symbol setting flag memory 18i and a flag indicating “ForB” In accordance with each of the flags shown, as shown in FIG. 10 (I ′) to FIG. 10 (K ′), the lower order from the symbol “ForA” 21A which is the higher order instruction. By displaying side by side until the symbol "ForC" 21C is an instruction, it is possible to know the details takes command of the program portion corresponding to the current cursor position easily.

なお、前述したように、複数の同一の命令が重なった場合のシンボル表示は、例えば「For1」「For2」「For3」…と単純に連続する番号を付加したシンボル表示としてもよい。   As described above, the symbol display when a plurality of identical instructions overlap may be, for example, a symbol display in which numbers “For1,” “For2,” “For3”,... Are simply added.

したがって、前記構成の電子式計算機(プログラム電卓)10によるプログラミング計算モードでのプログラムデータの入力/編集・表示機能およびこれに伴うシンボル表示機能によれば、プログラムデータの入力表示または編集表示状態において、当該プログラムデータの先頭からカーソルCの位置までのデータを順次取得して(ステップA1)プログラム命令の先頭コマンドコードであるか否かおよび同プログラム命令の終了コマンドコードであるか否かを判断し(ステップA2,A3)、先頭コマンドコード(例えば「For」)であると判断された場合には当該コマンド(シンボル)「For」を示すフラグをセットし(ステップA7)、また終了コマンドコード(例えば「Next」)であると判断された場合には対応するコマンド(シンボル)「For」を示すフラグを消去して(ステップA10)前記カーソルCの位置に対応したプログラム命令の内容を判定保持する。そして、セットされているフラグが示すコマンド(シンボル)「For」21を表示させることで(ステップA11→A12)、当該カーソルCの位置に対応したプログラム命令の内容をユーザ報知するようにしたので、例えば1行表示のプログラム電卓であってもプログラムの入力中あるいは編集中におけるプログラム部分が何れの命令部分にあるかを明確に確認することができ、プログラムの作成支援および作成ミスの予防が可能になる。   Therefore, according to the program data input / edit / display function in the programming calculation mode by the electronic calculator (program calculator) 10 having the above configuration and the symbol display function associated therewith, in the program data input display or edit display state, Data from the head of the program data to the position of the cursor C is sequentially acquired (step A1), and it is determined whether or not it is the head command code of the program instruction and the end command code of the program instruction ( Steps A2 and A3), if it is determined that the head command code (for example, “For”), the flag indicating the command (symbol) “For” is set (step A7), and the end command code (for example, “For”). Next "), the corresponding command (Symbols) to erase flag indicating "For" (step A10) holds determine the contents of program instructions corresponding to the position of the cursor C. Since the command (symbol) “For” 21 indicated by the set flag is displayed (step A11 → A12), the user is notified of the contents of the program instruction corresponding to the position of the cursor C. For example, even in the case of a one-line display program calculator, it is possible to clearly check in which command part the program part is being entered or edited, and it is possible to support program creation and prevent creation mistakes. Become.

また、前記構成の電子式計算機(プログラム電卓)10によるプログラミング計算モードでのプログラムデータの入力/編集・表示機能およびこれに伴うシンボル表示機能によれば、カーソルCの位置までに取得されたプログラムデータについて、例えばFor文中にIf文が含まれた場合など、複数の命令が重なった場合には、当該プログラム命令の重なった先頭コマンドコード(例えば「If」)が判断される毎に既にセットされたコマンド(シンボル)「For」を示すフラグが退避され(ステップA6→A8)、新たに重なったコマンド(シンボル)「If」を示すフラグがセットされるので、当該退避されたフラグをも含めた各フラグが示すコマンド(シンボル)「For」21および「If」22を並べて表示させることで、プログラムの入力中あるいは編集中におけるプログラム部分が何れの命令部分にあるかをより明確且つ詳細に確認することができる。   According to the program data input / edit / display function in the programming calculation mode by the electronic calculator (program calculator) 10 having the above configuration and the symbol display function associated therewith, the program data acquired up to the position of the cursor C is obtained. For example, if the For command contains an If statement, if a plurality of instructions overlap, the head command code (for example, “If”) that overlaps the program command is already set every time it is determined. The flag indicating the command (symbol) “For” is saved (step A 6 → A 8), and the flag indicating the newly overlapped command (symbol) “If” is set. Therefore, each flag including the saved flag is also included. The commands (symbols) “For” 21 and “If” 22 indicated by the flag are displayed side by side, and the It is possible to confirm whether the program part in or being edited in the input grams in any instruction portion more clearly and in detail.

また、前記構成の電子式計算機(プログラム電卓)10によるプログラミング計算モードでのプログラムデータの入力/編集・表示機能およびこれに伴うシンボル表示機能によれば、プログラムの新規入力や編集入力によりカーソルCが新たなデータに対応して更新表示される都度(ステップS7,S8)、また表示されたプログラム上のカーソルCがカーソルキーの操作により移動表示される都度(ステップS9,S10)、前記プログラムの先頭からカーソルCの位置まで順次取得されるプログラムデータに従ったシンボル表示処理(ステップSA)を行うので、プログラムの入力中あるいは編集中あるいは単なる閲覧中におけるプログラム部分が何れの命令部分にあるかを常に明確に確認することができる。   Further, according to the program data input / edit / display function in the programming calculation mode and the accompanying symbol display function by the electronic calculator (program calculator) 10 having the above-described configuration, the cursor C is moved by a new program input or edit input. Each time the data is updated and displayed corresponding to new data (steps S7 and S8), and whenever the cursor C on the displayed program is moved and displayed by operating the cursor key (steps S9 and S10), the top of the program is displayed. Since the symbol display process (step SA) is performed according to the program data sequentially acquired from the cursor C to the position of the cursor C, it is always determined which command part the program part is in while the program is being input, edited, or simply viewed. It can be clearly confirmed.

なお、前記各実施形態において記載した電子式計算機(プログラム電卓)10による各処理の手法、すなわち、図3のフローチャートに示すプログラムデータの入力/編集・表示処理、図4のフローチャートに示す前記プログラムデータの入力/編集・表示処理に伴うシンボル表示処理などの各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記憶媒体15に格納して配布することができる。そして、コンピュータは、この外部記憶媒体15に記憶されたプログラムを記憶媒体読み取り部16によって読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明したプログラムデータの入力/編集・表示機能およびこれに伴うシンボル表示機能を実現し、前述した手法による同様の処理を実行することができる。   Note that each processing method by the electronic calculator (program calculator) 10 described in each of the embodiments, that is, program data input / editing / display processing shown in the flowchart of FIG. 3, and the program data shown in the flowchart of FIG. Each method such as symbol display processing associated with input / editing / display processing is a program that can be executed by a computer, such as a memory card (ROM card, RAM card, etc.), magnetic disk (floppy disk, hard disk, etc.). It can be stored and distributed in an external storage medium 15 such as an optical disk (CD-ROM, DVD, etc.), semiconductor memory or the like. Then, the computer reads the program stored in the external storage medium 15 by the storage medium reading unit 16, and the operation is controlled by the read program, whereby the program data input / editing described in each of the above embodiments is performed. A display function and a symbol display function associated therewith can be realized, and a similar process can be executed by the method described above.

また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワークN上を伝送させることができ、このネットワークNに接続されたコンピュータ端末の通信制御部17によって前記のプログラムデータを取り込み、前述したプログラムデータの入力/編集・表示機能およびこれに伴うシンボル表示機能を実現することもできる。   The program data for realizing each of the above methods can be transmitted on the network N in the form of a program code, and the program data is transmitted by the communication control unit 17 of the computer terminal connected to the network N. The program data input / editing / display function and the symbol display function associated therewith can also be realized.

なお、本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。   Note that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention at the stage of implementation. Further, each of the embodiments includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in each embodiment, or some constituent requirements are combined, the problem described in the column of the problem to be solved by the invention can be solved, When the effects described in the column of the effect of the invention can be obtained, a configuration in which these constituent elements are deleted or combined can be extracted as an invention.

本発明の実施形態に係る電子式計算機(プログラム電卓)10の電子回路の構成を示すブロック図。1 is a block diagram showing a configuration of an electronic circuit of an electronic calculator (program calculator) 10 according to an embodiment of the present invention. 前記電子式計算機(プログラム電卓)10のRAM18に確保される主要なデータメモリの構成を示す図。The figure which shows the structure of the main data memory ensured in RAM18 of the said electronic calculator (program calculator) 10. 前記電子式計算機(プログラム電卓)10によるプログラムデータの入力/編集・表示処理を示すフローチャート。6 is a flowchart showing program data input / editing / display processing by the electronic calculator (program calculator) 10; 前記電子式計算機(プログラム電卓)10によるプログラムデータの入力/編集・表示処理に伴うシンボル表示処理を示すフローチャート。6 is a flowchart showing symbol display processing accompanying program data input / editing / display processing by the electronic calculator (program calculator) 10; 前記プログラムデータの入力/編集・表示処理に伴い入力データメモリ(入力バッファ)18cに読み出されたFor文を含むプログラムデータの一例(その1)を示す図。The figure which shows an example (the 1) of the program data containing the For sentence read to the input data memory (input buffer) 18c in connection with the input / editing / display processing of the program data. 前記図5におけるプログラムデータの表示に伴うカーソルCの移動位置に応じたシンボル表示動作を示す図。The figure which shows the symbol display operation | movement according to the movement position of the cursor C accompanying the display of the program data in the said FIG. 前記プログラムデータの入力/編集・表示処理に伴い入力データメモリ(入力バッファ)18cに読み出されたFor文中にIf文を含むプログラムデータの一例(その2)を示す図。The figure which shows an example (the 2) of the program data which contains an If sentence in the For sentence read to the input data memory (input buffer) 18c in connection with the input / editing / display process of the said program data. 前記図7におけるプログラムデータの表示に伴うカーソルCの移動位置に応じたシンボル表示動作を示す図。The figure which shows the symbol display operation | movement according to the movement position of the cursor C accompanying the display of the program data in the said FIG. 前記プログラムデータの入力/編集・表示処理に伴い入力データメモリ(入力バッファ)18cに読み出されたFor文中にFor文を含むプログラムデータの一例(その3)を示す図。The figure which shows an example (the 3) of the program data which contains a For sentence in the For sentence read to the input data memory (input buffer) 18c in connection with the input / editing / display process of the said program data. 前記図9におけるプログラムデータの表示に伴うカーソルCの移動位置に応じたシンボル表示動作を示す図。The figure which shows the symbol display operation | movement according to the movement position of the cursor C accompanying the display of the program data in the said FIG.

符号の説明Explanation of symbols

10 …電子式計算機(プログラム電卓)
11 …制御部(CPU)
12 …キー入力部
13 …液晶表示部
14 …ROM
15 …外部記憶媒体
16 …記憶媒体読み取り部
17 …通信制御部
18 …RAM
18a…表示データメモリ
18b…モードデータメモリ
18c…入力データメモリ(入力バッファ)
18d…入力式メモリ
18e…式計算結果メモリ
18f…プログラムメモリ
18g…プログラム実行結果メモリ
18h…カーソル位置メモリ
18i…プログラムシンボル設定フラグメモリ
18j…フラグ退避メモリ
18k…ワークエリア
19 …表示駆動回路
21 …カーソル位置のプログラム部分に対応した命令シンボル「For」
21a,21A…1つ目のFor文シンボル「ForA」
21b,21B…2つ目のFor文シンボル「ForB」
21c,21C…3つ目のFor文シンボル「ForC」
22 …カーソル位置のプログラム部分に対応した命令シンボル「If」
N …通信ネットワーク
C …カーソル
10 ... Electronic calculator (program calculator)
11: Control unit (CPU)
12 ... Key input part 13 ... Liquid crystal display part 14 ... ROM
DESCRIPTION OF SYMBOLS 15 ... External storage medium 16 ... Storage medium reading part 17 ... Communication control part 18 ... RAM
18a: Display data memory 18b: Mode data memory 18c: Input data memory (input buffer)
18d ... Input formula memory 18e ... Formula calculation result memory 18f ... Program memory 18g ... Program execution result memory 18h ... Cursor position memory 18i ... Program symbol setting flag memory 18j ... Flag save memory 18k ... Work area 19 ... Display drive circuit 21 ... Cursor Instruction symbol "For" corresponding to the program part of the position
21a, 21A ... First For sentence symbol "ForA"
21b, 21B ... Second For sentence symbol "ForB"
21c, 21C ... Third For sentence symbol "ForC"
22 ... Instruction symbol “If” corresponding to the program part at the cursor position
N ... Communication network C ... Cursor

Claims (6)

表示部上のカーソルをユーザ操作に応じて移動表示可能なカーソル表示制御手段を備えた電子式計算機であって、
ループ処理命令または条件分岐処理命令を含む一連の計算命令を入力する計算命令入力手段と、
この計算命令入力手段により入力された計算命令を前記表示部上のカーソル位置に応じて表示させる計算命令表示制御手段と、
前記計算命令入力手段により入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断する命令範囲判断手段と、
この命令範囲判断手段によるループ処理命令または条件分岐処理命令の範囲の判断に基づいて、前記表示部上のカーソル位置に対応する計算命令の位置がループ処理命令または条件分岐処理命令に対応する位置であるか否かを判定するカーソル位置命令判定手段と、
このカーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置がループ処理命令または条件分岐処理命令に対応する位置であると判定された場合に、当該処理命令を示す表示を行わせる処理命令表示制御手段と、
を備えたことを特徴とする電子式計算機。
An electronic calculator comprising cursor display control means capable of moving and displaying a cursor on a display unit according to a user operation,
A calculation instruction input means for inputting a series of calculation instructions including a loop processing instruction or a conditional branch processing instruction;
Calculation instruction display control means for displaying the calculation instruction input by the calculation instruction input means in accordance with the cursor position on the display unit;
Instruction range determination means for determining a range of a loop processing instruction or a conditional branch processing instruction included in the calculation instruction from the start of the calculation instruction input by the calculation instruction input means to the cursor position;
Based on the determination of the range of the loop processing instruction or conditional branch processing instruction by the instruction range determination means, the position of the calculation instruction corresponding to the cursor position on the display unit is the position corresponding to the loop processing instruction or conditional branch processing instruction. Cursor position command determining means for determining whether or not there is,
When the cursor position instruction determination means determines that the position of the calculation instruction corresponding to the cursor position is a position corresponding to a loop processing instruction or a conditional branch processing instruction, a processing instruction for displaying the processing instruction Display control means;
An electronic calculator characterized by comprising:
前記処理命令表示制御手段は、前記カーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置が複数の処理命令に対応している位置であると判定された場合には、前記命令範囲判断手段により判断される当該カーソル位置に最も近い範囲の処理命令を示す表示を行わせることを特徴とする請求項1に記載の電子式計算機。   The processing command display control means determines the command range determination when the cursor position command determination means determines that the position of the calculation command corresponding to the cursor position is a position corresponding to a plurality of processing commands. 2. The electronic computer according to claim 1, wherein a display indicating a processing command in a range closest to the cursor position determined by the means is performed. 前記処理命令表示制御手段は、前記カーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置が複数の処理命令に対応している位置であると判定された場合には、当該複数の処理命令を示す表示を行わせることを特徴とする請求項1に記載の電子式計算機。   The processing instruction display control means, when the cursor position instruction determination means determines that the position of the calculation instruction corresponding to the cursor position is a position corresponding to a plurality of processing instructions, the plurality of processes The electronic computer according to claim 1, wherein a display indicating an instruction is performed. 前記命令範囲判断手段は、前記カーソル表示制御手段により前記表示部上のカーソルがユーザ操作に応じて移動表示される毎に、前記計算命令入力手段により入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断することを特徴とする請求項1ないし請求項3の何れか1項に記載の電子式計算機。   The command range determination unit is configured to move from the head of the calculation command input by the calculation command input unit to the cursor position every time the cursor on the display unit is moved and displayed according to a user operation by the cursor display control unit. 4. The electronic computer according to claim 1, wherein a range of a loop processing instruction or a conditional branch processing instruction included in the calculation instruction is determined. 前記命令範囲判断手段は、前記計算命令入力手段によりループ処理命令または条件分岐処理命令を含む一連の計算命令が入力される毎に、当該入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断することを特徴とする請求項1ないし請求項4の何れか1項に記載の電子式計算機。   Each time the instruction range determination means inputs a series of calculation instructions including a loop processing instruction or a conditional branch processing instruction by the calculation instruction input means, the calculation instruction from the head of the input calculation instruction to the cursor position. 5. The electronic computer according to claim 1, wherein a range of a loop processing instruction or a conditional branch processing instruction included in the instruction is determined. 表示部上のカーソルをユーザ操作に応じて移動表示可能なカーソル表示制御手段を備えた電子式計算機のコンピュータを制御するための計算機制御プログラムであって、
前記コンピュータを、
ループ処理命令または条件分岐処理命令を含む一連の計算命令をユーザ操作に応じて入力する計算命令入力手段、
この計算命令入力手段により入力された計算命令を前記表示部上のカーソル位置に応じて表示させる計算命令表示制御手段、
前記計算命令入力手段により入力された計算命令の先頭から前記カーソル位置まで当該計算命令に含まれるループ処理命令または条件分岐処理命令の範囲を判断する命令範囲判断手段、
この命令範囲判断手段によるループ処理命令または条件分岐処理命令の範囲の判断に基づいて、前記表示部上のカーソル位置に対応する計算命令の位置がループ処理命令または条件分岐処理命令に対応する位置であるか否かを判定するカーソル位置命令判定手段、
このカーソル位置命令判定手段により前記カーソル位置に対応する計算命令の位置がループ処理命令または条件分岐処理命令に対応する位置であると判定された場合に、当該処理命令を示す表示を行わせる処理命令表示制御手段、
として機能させるようにしたコンピュータ読み込み可能な計算機制御プログラム。
A computer control program for controlling a computer of an electronic computer provided with cursor display control means capable of moving and displaying a cursor on a display unit according to a user operation,
The computer,
A calculation instruction input means for inputting a series of calculation instructions including a loop processing instruction or a conditional branch processing instruction in response to a user operation;
Calculation command display control means for displaying the calculation command input by the calculation command input means in accordance with the cursor position on the display unit,
Instruction range determination means for determining a range of a loop processing instruction or a conditional branch processing instruction included in the calculation instruction from the start of the calculation instruction input by the calculation instruction input means to the cursor position;
Based on the determination of the range of the loop processing instruction or conditional branch processing instruction by the instruction range determination means, the position of the calculation instruction corresponding to the cursor position on the display unit is the position corresponding to the loop processing instruction or conditional branch processing instruction. Cursor position command determination means for determining whether or not there is,
When the cursor position instruction determination means determines that the position of the calculation instruction corresponding to the cursor position is a position corresponding to a loop processing instruction or a conditional branch processing instruction, a processing instruction for displaying the processing instruction Display control means,
A computer-readable computer control program that functions as a computer.
JP2006354886A 2006-12-28 2006-12-28 Electronic computer and computer control program Active JP5028644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006354886A JP5028644B2 (en) 2006-12-28 2006-12-28 Electronic computer and computer control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006354886A JP5028644B2 (en) 2006-12-28 2006-12-28 Electronic computer and computer control program

Publications (2)

Publication Number Publication Date
JP2008165522A JP2008165522A (en) 2008-07-17
JP5028644B2 true JP5028644B2 (en) 2012-09-19

Family

ID=39694931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006354886A Active JP5028644B2 (en) 2006-12-28 2006-12-28 Electronic computer and computer control program

Country Status (1)

Country Link
JP (1) JP5028644B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288004A (en) * 2001-03-27 2002-10-04 Canon Inc Program source processing device and method, and program source processing program

Also Published As

Publication number Publication date
JP2008165522A (en) 2008-07-17

Similar Documents

Publication Publication Date Title
US7721255B2 (en) Sequence program editing apparatus
JP4661654B2 (en) Formula display control apparatus and formula display control program
JP4525771B2 (en) Electronic calculator
JP2007264765A (en) Formula editing device and program
JP2007072518A (en) Human machine interface device of control unit
JP5028644B2 (en) Electronic computer and computer control program
JP2002268711A (en) Programmable display unit and plotting program for the same and recording medium with its plotting program recorded
JP2009163524A (en) Arithmetic processing unit
JPS6120902B2 (en)
JP2006331184A (en) Electronic apparatus and control program for the same
JP2875135B2 (en) Program device for programmable controller
JPS5826031B2 (en) Edit processing method
JPS6330976A (en) Macrocommand editing system
JPH0736869A (en) Document editor
JP2006195827A (en) Application development tool
JP2000132697A (en) Graph display device and storage medium
JP2022125274A (en) Electronic computer, method, and program
JPH01191269A (en) Image controller
JP5245344B2 (en) Electronic computer and its control program
JP2004078375A (en) Information processing apparatus, business form processing method, computer-readable storage medium, and program
JPH0228757A (en) Document generating device
JPH06162001A (en) Document processor with handwriting input function
JP3113023B2 (en) Arc length dimension creation method and device
JPH09128223A (en) System and method for supporting development of multitask control program
JPH05189503A (en) Method and device for production of angular dimension

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091016

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: 20120522

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120529

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120604

R150 Certificate of patent or registration of utility model

Ref document number: 5028644

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150706

Year of fee payment: 3