JPH057741B2 - - Google Patents

Info

Publication number
JPH057741B2
JPH057741B2 JP57234634A JP23463482A JPH057741B2 JP H057741 B2 JPH057741 B2 JP H057741B2 JP 57234634 A JP57234634 A JP 57234634A JP 23463482 A JP23463482 A JP 23463482A JP H057741 B2 JPH057741 B2 JP H057741B2
Authority
JP
Japan
Prior art keywords
data
item
pointer
record
input
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.)
Expired - Lifetime
Application number
JP57234634A
Other languages
Japanese (ja)
Other versions
JPS59116870A (en
Inventor
Hisashi Ito
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 JP57234634A priority Critical patent/JPS59116870A/en
Publication of JPS59116870A publication Critical patent/JPS59116870A/en
Publication of JPH057741B2 publication Critical patent/JPH057741B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9017Indexing; Data structures therefor; Storage structures using directory or table look-up

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Calculators And Similar Devices (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

〔発明の技術分野〕 本発明はいわゆるメモ電卓等のデータ記憶装置
に関する。 〔従来技術とその問題点〕 従来、パーソナル・コンピユータなどを用いて
表形式のデータを記憶する場合は、予めレコード
数、アイテム数、アイテムの文字数などの表構成
を設定する必要があつた。従つて、データ入力の
ためのキー操作が非常に面倒であり、ユーザにと
つて大変使いにくいものであつた。 〔発明の目的〕 本発明は上記の点に鑑みてなされたもので、表
形式のデータを記憶する場合に表の構成を定義す
る必要がなく、また、そのデータ入力もきわめて
容易なデータ記憶装置を提供することを目的とす
る。 〔発明の要点〕 本発明は表形式のデータをキー操作により入力
して記憶するもので、データのレコード数(行)
とアイテム数(列)を記憶するポインタ及びデー
タの書込を指示する特定キーを備え、書込指示キ
ー操作により入力データにアイテム区切コードを
付して記憶させ、同時にアイテムポインタを更新
させるようにし、第1番目のレコードの入力を終
了した時点でのアイテムポインタの値に基いて、
第2番目以降のレコードのデータ入力に関するポ
インタの制御を行なうようにして、簡単なキー操
作によりデータの入力ができるようにしたもので
ある。 〔発明の実施例〕 以下図面を参照して本発明の一実施例を説明す
る。第1図において、1はキー入力部で、テンキ
ー、アルフアベツトキーと共に、入力モードと出
力モードとを切換えるDATAキー2a、フアイ
ル名を書込み/読出しするためのFILEキー2b、
データの区切の指示とレコード名の読出しを行な
うEXEキー2c、データを順次読出するための
ポインタ移動キー2d等を備えている。上記キー
入力部1から入力されたデータは、CPU3へ送
られる。このCPU3は、モードフラグMFとアキ
ユムレータA(A0,A1)を備えている。上記モー
ドフラグMFは入力モードか出力モードかを記憶
し、また、アキユムレータAはメモリ管理部4内
のポインタCP,MPから送られてくるデータを
記憶する。上記メモリ管理部4は、CPU3から
の指令に従つてデータ・メモリ5の管理を行なう
もので、上記ポインタCP,MPの他にアドレス
レジスタMPAを備えている。上記ポインタCP
は、データ・メモリ5に記憶された表データのレ
コード数がセツトされるCPR及びアイテム数がセ
ツトされるCPIからなつている。またポインタ
MPは、現在指定しているアドレスがデータ・メ
モリ5に記憶されている表のどこにあるかを示す
ためのもので、レコード数がセツトされるMPR
及びアイテム数がセツトされるMPIからなつてい
る。そして、上記アドレスレジスタMPAは、ポ
インタMPの示しているアドレスがセツトされ、
この内容によりデータ・メモリ5をアドレス指定
する。また、上記CPU3には、比較・判断部6、
区切コード発生部7、コメント文発生部8が接続
される。上記比較・判断部6は、CPU3からの
データとメモリ管理部4からのデータとを比較
し、その比較・判断結果をCPU3へ出力する。
また、区切コード発生部7は、CPU3の制御に
より、アイテムの終りを示すアイテム区切コード
と、レコードの終りを示すレコード区切コードを
発生する。コメント文発生部8は例えば
「ITEM1?」などのコメント文をCPU3の制御
によりポインタMPのカウント値に従つて発生
し、表示部9において表示する。また、上記デー
タ・メモリ5から読出されるデータは、表示部9
へ送られると共に、区切コード検出部10へ送ら
れる。この区切コード検出部10は、データ・メ
モリ5から出力されるデータの中から上記アイテ
ムとレコードの2種の区切コードを検出し、メモ
リ管理部4に各検出信号を出力する。 次に上記実施例の動作を説明する。今例えば次
の第1表に示す成績表を記憶するものとする。
[Technical Field of the Invention] The present invention relates to a data storage device such as a so-called memo calculator. [Prior Art and its Problems] Conventionally, when storing tabular data using a personal computer or the like, it was necessary to set the table configuration such as the number of records, the number of items, and the number of characters of each item in advance. Therefore, key operations for data input are extremely troublesome, and the system is very difficult for the user to use. [Object of the Invention] The present invention has been made in view of the above points, and provides a data storage device in which there is no need to define the structure of a table when storing tabular data, and data input is extremely easy. The purpose is to provide [Summary of the Invention] The present invention inputs and stores tabular data by key operation, and the number of data records (rows)
, a pointer for storing the number of items (columns), and a specific key for instructing data writing, and by operating the write instruction key, input data is stored with an item delimiter code attached, and the item pointer is updated at the same time. , based on the value of the item pointer at the end of inputting the first record.
The pointer for data input for the second and subsequent records is controlled so that data can be input by simple key operations. [Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is a key input section, which includes a numeric keypad and alphanumeric keys, as well as a DATA key 2a for switching between input mode and output mode, a FILE key 2b for writing/reading a file name,
It is equipped with an EXE key 2c for instructing data division and reading record names, a pointer movement key 2d for sequentially reading data, and the like. Data input from the key input section 1 is sent to the CPU 3. This CPU 3 includes a mode flag MF and an accumulator A (A 0 , A 1 ). The mode flag MF stores input mode or output mode, and the accumulator A stores data sent from pointers CP and MP in the memory management section 4. The memory management unit 4 manages the data memory 5 in accordance with instructions from the CPU 3, and includes an address register MPA in addition to the pointers CP and MP. Above pointer CP
consists of CPR , where the number of records of table data stored in the data memory 5 is set, and CPI, where the number of items is set. Also a pointer
MP is used to indicate where the currently specified address is in the table stored in the data memory 5, and MP R is used to set the number of records.
and MP I in which the number of items is set. Then, the address register MPA is set to the address indicated by the pointer MP, and
The data memory 5 is addressed by this content. In addition, the CPU 3 includes a comparison/judgment section 6,
A delimiter code generating section 7 and a comment statement generating section 8 are connected. The comparison/judgment section 6 compares the data from the CPU 3 and the data from the memory management section 4 and outputs the comparison/judgment result to the CPU 3.
Further, under the control of the CPU 3, the delimiter code generating section 7 generates an item delimiter code indicating the end of an item and a record delimiter code indicating the end of a record. The comment generation unit 8 generates a comment such as “ITEM1?” under the control of the CPU 3 according to the count value of the pointer MP, and displays it on the display unit 9. Further, the data read from the data memory 5 is displayed on the display section 9.
It is also sent to the delimiter code detection section 10. The delimiter code detecting section 10 detects the two types of delimiter codes, item and record, from the data output from the data memory 5, and outputs each detection signal to the memory management section 4. Next, the operation of the above embodiment will be explained. For example, assume that the following table of results shown in Table 1 is stored.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明によれば、表形式のデ
ータを入力する場合に、第1番目のレコード入力
時のアイテム数を記憶し、第2番目以降のレコー
ドに対するデータ入力はこのアイテム数によつて
制御されるようにしたので、表形式のデータを記
憶する場合に表の構成を定義する必要がなく、ま
た、データの入力操作もきわめて容易なデータ記
憶装置を提供することができる。
As described above, according to the present invention, when inputting tabular data, the number of items at the time of inputting the first record is memorized, and data input for the second and subsequent records is based on this number of items. Therefore, when storing tabular data, there is no need to define the structure of the table, and it is possible to provide a data storage device in which data input operations are extremely easy.

【図面の簡単な説明】[Brief explanation of the drawing]

図面は本発明の一実施例を示すもので、第1図
は回路構成図、第2図はデータ書込み動作を示す
フローチヤート、第3図はデータ書込み時のキー
操作に対するメモリ内容及び表示内容の変化を示
す図、第4図及び第5図はデータ読出し動作を示
すフローチヤート、第6図はデータ読出し時のキ
ー操作に対するポインタ及び表示内容の変化を示
す図である。 1……キー入力部、3……CPU、4……メモ
リ管理部、5……データ・メモリ、6……比較・
判断部、7……区切コード発生部、8……コメン
ト文発生部、9……表示部、10……区切コード
検出部、CPR,CPR,MPR,MPI……ポインタ、
MPA……アドレスレジスタ。
The drawings show one embodiment of the present invention. FIG. 1 is a circuit diagram, FIG. 2 is a flowchart showing a data writing operation, and FIG. 3 is a diagram showing memory contents and display contents in response to key operations during data writing. FIGS. 4 and 5 are flowcharts showing data reading operations, and FIG. 6 is a diagram showing changes in the pointer and display contents in response to key operations during data reading. 1...Key input section, 3...CPU, 4...Memory management section, 5...Data memory, 6...Comparison/
Judgment section, 7... Delimiter code generation section, 8... Comment statement generation section, 9... Display section, 10... Delimiter code detection section, CPR , CPR , MP R , MP I ... Pointer,
MPA...Address register.

Claims (1)

【特許請求の範囲】 1 複数のアイテムによつて構成されるデータを
1レコードとして複数レコードを記憶するデータ
記憶装置において、 アイテムを指定するアイテムポインタと、 レコードを指定するレコードポインタと、 データの書込み実行を指示する書込指示キー
と、 データ入力後の上記書込指示キーの操作によ
り、入力データにアイテム区切コードを付して記
憶させるデータ書込手段と、 上記書込指示キーの操作により上記アイテムポ
インタを更新するアイテムポインタ更新手段と、 上記レコードポインタが第1番目のレコードを
指定している場合のみ上記書込指示キーの操作に
よりカウントアツプするアイテムカウント手段
と、 第2番目以降のレコードに関するデータ入力に
おいて、順次更新される上記アイテムポインタの
値が上記アイテムカウント手段が記憶したカウン
ト値を越えたときに上記レコードポインタを更新
し、同時に上記アイテムポインタをリセツトする
制御手段と を具備し書込指示キーの操作だけで表形式のデー
タの入力を行なうようにしたことを特徴とするデ
ータ記憶装置。
[Scope of Claims] 1. In a data storage device that stores a plurality of records, with data constituted by a plurality of items as one record, an item pointer that specifies an item, a record pointer that specifies a record, and data writing. a write instruction key that instructs execution; a data write means that adds an item delimiter code to the input data and stores it by operating the write instruction key after data input; Item pointer updating means for updating an item pointer; Item counting means for incrementing a count by operating the write instruction key only when the record pointer specifies the first record; and control means for updating the record pointer and simultaneously resetting the item pointer when the value of the item pointer that is sequentially updated exceeds the count value stored by the item counting means during data input. A data storage device characterized in that tabular data can be input simply by operating instruction keys.
JP57234634A 1982-12-23 1982-12-23 Data storage device Granted JPS59116870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57234634A JPS59116870A (en) 1982-12-23 1982-12-23 Data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57234634A JPS59116870A (en) 1982-12-23 1982-12-23 Data storage device

Publications (2)

Publication Number Publication Date
JPS59116870A JPS59116870A (en) 1984-07-05
JPH057741B2 true JPH057741B2 (en) 1993-01-29

Family

ID=16974104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57234634A Granted JPS59116870A (en) 1982-12-23 1982-12-23 Data storage device

Country Status (1)

Country Link
JP (1) JPS59116870A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0152979B1 (en) * 1988-07-15 1998-11-16 가시오 가즈오 Variable length data processing apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5522821A (en) * 1978-08-04 1980-02-18 Hitachi Ltd Method for treating terminal of electromagnetic coil
JPS5657140A (en) * 1979-10-17 1981-05-19 Canon Inc Address designation system of desk calculator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5522821A (en) * 1978-08-04 1980-02-18 Hitachi Ltd Method for treating terminal of electromagnetic coil
JPS5657140A (en) * 1979-10-17 1981-05-19 Canon Inc Address designation system of desk calculator

Also Published As

Publication number Publication date
JPS59116870A (en) 1984-07-05

Similar Documents

Publication Publication Date Title
JPS5699569A (en) Registered document selecting system of character processing device
JPH057741B2 (en)
JPH0125098B2 (en)
JPH0124658Y2 (en)
JPH0612548B2 (en) Document processor
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPH0363101B2 (en)
JP2595045B2 (en) Touch panel input device
JPS58151637A (en) Japanese language word processor
KR900002790B1 (en) Key's place changeable control method for keyboard
JPH0426919Y2 (en)
JPH02297279A (en) Document processor with next registration code display function
JPH0287269A (en) Data controller
JPS6037634Y2 (en) calendar printing device
JP2564139Y2 (en) Graph creation device
JPS6398766A (en) Document production processor
JPS61275956A (en) Data storage system of electronic memorandum device
JPS62186329A (en) Conditions retrieving device
JPS6137649B2 (en)
JPS61198279A (en) Cursor display system
JPH031273A (en) Character processor having operation self-study function
JPH04362734A (en) Storage type editor
JPH0157385B2 (en)
JPH02297278A (en) Document processor with display function for unused register code
JPH067313B2 (en) Display method