JPH04135251A - Two byte blank character converting device - Google Patents
Two byte blank character converting deviceInfo
- Publication number
- JPH04135251A JPH04135251A JP2257825A JP25782590A JPH04135251A JP H04135251 A JPH04135251 A JP H04135251A JP 2257825 A JP2257825 A JP 2257825A JP 25782590 A JP25782590 A JP 25782590A JP H04135251 A JPH04135251 A JP H04135251A
- Authority
- JP
- Japan
- Prior art keywords
- byte
- blank character
- byte blank
- character
- source program
- 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.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はソースプログラム内の2バイト空白文字を画面
やプリンタ上で識別する2バイト空白文字変換装置に関
する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a 2-byte blank character conversion device for identifying 2-byte blank characters in a source program on a screen or printer.
従来、ソースプログラムをコンパイルする時、2バイト
の空白文字が文法上許されない位置に来るとエラーにな
る。エラー修正時に画面やプリンタに出力されたソース
プログラム上では、2バイトの空白文字は1バイトの空
白文字と同じ様に見える空白文字が表示されている。Conventionally, when compiling a source program, an error occurs if a 2-byte space character appears in a position that is not allowed by the grammar. On the source program output to the screen or printer when an error is corrected, 2-byte blank characters are displayed as blank characters that look the same as 1-byte blank characters.
文法上許されない位置に2バイトの空白文字があれば、
それを修正しなければならない。従って、この2バイト
の空白文字が2バイト空白文字であるか、1バイト空白
文字であるかを知る必要がある。If there is a 2-byte blank character in a position that is not allowed by the grammar,
I have to fix that. Therefore, it is necessary to know whether this 2-byte blank character is a 2-byte blank character or a 1-byte blank character.
画面上では空白文字にカーソルをあわせると、1バイト
の空白文字と2バイトの空白文字とは空白の形状が異な
るので区別はできるが、カーソルをあわせないと区別は
てきない。プリンタに出力した場合は1バイトの空白文
字と2バイトの空白文字は全く区別できない。When you place the cursor on a blank character on the screen, you can tell the difference between a 1-byte blank character and a 2-byte blank character because the blank shapes are different, but you cannot tell them apart unless you place the cursor over them. When output to a printer, 1-byte blank characters and 2-byte blank characters cannot be distinguished at all.
本発明の2バイト空白文字変換装置は、ソースプログラ
ムに記述された2バイト空白文字データを検索する2バ
イト空白文字検索部と、検索した2バイト空白文字デー
タを予め定められた特殊記号を表わすデータに変換する
2バイト空白文字変換部とを備えて構成される。The 2-byte blank character conversion device of the present invention includes a 2-byte blank character search unit that searches for 2-byte blank character data written in a source program, and a 2-byte blank character search unit that searches for 2-byte blank character data written in a source program, and converts the searched 2-byte blank character data into data representing a predetermined special symbol. and a 2-byte blank character converter.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の機能ブロック図である。同
図において2バイト空白文字変換装置は、キーボード1
1およびファイル12から成る入力装置1と、ソースプ
ログラム2と、ソースプログラム内の2バイト空白文字
を検索する2バイト空白文字検索部3と、2バイト空白
文字データを特殊記号データに変換する2バイト空白文
字変換部4と、プリンタ51およびデイスプレィ52か
ら成る出力装置5とを有している。FIG. 1 is a functional block diagram of an embodiment of the present invention. In the figure, the 2-byte space character conversion device is keyboard 1.
1 and a file 12, a source program 2, a 2-byte blank character search unit 3 that searches for 2-byte blank characters in the source program, and a 2-byte blank character search unit 3 that converts 2-byte blank character data into special symbol data. It has a blank character conversion section 4 and an output device 5 consisting of a printer 51 and a display 52.
入力装置1より入力されたソースプログラム2の内容を
プリンタ51やティスプレィ52で確認する時、2バイ
ト空白文字検索部3かソースプログラム2内の2バイト
空白文字データを検索する。検索された2バイト空白文
字データは、2バイト空白文字変換部4によって、1バ
イトの空白文字や他の文字データと識別てきる特殊記号
(例えばjj;jjjj や 。 やし 等)のデー
タに変換される。変換されたデータはプリンタ51とデ
イスプレィ52に出力される。When confirming the contents of a source program 2 inputted from an input device 1 on a printer 51 or a display 52, a 2-byte blank character search unit 3 searches for 2-byte blank character data in the source program 2. The retrieved 2-byte blank character data is converted by the 2-byte blank character conversion unit 4 into 1-byte blank characters and data with special symbols that can be distinguished from other character data (for example, jj; jjjj, . palm, etc.). be done. The converted data is output to a printer 51 and a display 52.
変換した結果が出力されるのはプリンタ51とデイスプ
レィ52のみであり、ファイルへの出力は行われない、
ソースプログラム2も書き換えは行われない。コンパイ
ル6も従来通り行われ、実行形式のプログラム7を出力
する時も従来通り出力される。The converted results are output only to the printer 51 and display 52, and are not output to a file.
Source program 2 is also not rewritten. Compilation 6 is also performed as before, and when outputting the executable program 7, it is output as before.
以上説明したように本発明は2バイト空白文字データを
識別できる特殊文字に変換してプリンタ、デイスプレィ
に出力する事により、2バイト空白部分が2ハイド空白
文字であるか否かが一目でわかるので、プログラム作成
時におけるデバッグ作業か容易になる効果かある。As explained above, the present invention converts 2-byte blank character data into distinguishable special characters and outputs them to a printer or display, so that it can be seen at a glance whether a 2-byte blank part is a 2-hide blank character. This has the effect of making debugging work easier when creating a program.
第1図は本発明の一実施例の機能ブロック図である。
1・・・入力装置、11はキーボード、12はファイル
、2・・・ソースプログラム、3・・・2ノ〈イト空白
文字検索部、4・・・2バイト空白文字変換部、5は出
力装置。
’PI2FIG. 1 is a functional block diagram of an embodiment of the present invention. 1... Input device, 11 is keyboard, 12 is file, 2... Source program, 3... 2-byte blank character search section, 4... 2-byte blank character converter, 5 is output device . 'PI2
Claims (1)
を検索する2バイト空白文字検索部と、検索した2バイ
ト空白文字データを予め定められた特殊記号を表わすデ
ータに変換する2バイト空白文字変換部とを備えたこと
を特徴とする2バイト空白文字変換装置。A 2-byte blank character search unit that searches for 2-byte blank character data written in a source program, and a 2-byte blank character converter that converts the searched 2-byte blank character data into data representing a predetermined special symbol. A 2-byte space character conversion device characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2257825A JPH04135251A (en) | 1990-09-27 | 1990-09-27 | Two byte blank character converting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2257825A JPH04135251A (en) | 1990-09-27 | 1990-09-27 | Two byte blank character converting device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04135251A true JPH04135251A (en) | 1992-05-08 |
Family
ID=17311650
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2257825A Pending JPH04135251A (en) | 1990-09-27 | 1990-09-27 | Two byte blank character converting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04135251A (en) |
-
1990
- 1990-09-27 JP JP2257825A patent/JPH04135251A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6091450A (en) | Table type language interpreter | |
| JPH04135251A (en) | Two byte blank character converting device | |
| JPS60134282A (en) | System screen display system | |
| JPH0272407A (en) | Ladder program converter | |
| JPH04362738A (en) | Variable control method | |
| JPS6051950A (en) | Program outputting system | |
| JPH03144833A (en) | Debugging system | |
| JPH0643836Y2 (en) | Character output device | |
| JPS59197927A (en) | Documentation device | |
| JPH04175962A (en) | How to translate commands between different computers | |
| KR100588729B1 (en) | Apparatus and Method for Providing User Screen in Character Online Service | |
| JP2909185B2 (en) | Assembler processing method | |
| JPH04532A (en) | Binary data editing device | |
| JPH04248624A (en) | Program conversion processor | |
| JPS6087051U (en) | String conversion processing device | |
| JPH02197902A (en) | Programmable controller | |
| JPH0580992A (en) | Output system for procedure-function relation chart | |
| JPS6033625A (en) | Conversational information retrieval device | |
| JPH03288232A (en) | General-purpose source converter device | |
| JPH03286369A (en) | Translation device | |
| JPS6315335A (en) | Expanding system for end user language for data base to natural language | |
| JPH04155569A (en) | Kana/kanji converter | |
| JPH0546434A (en) | Program debugging system | |
| JPH04229343A (en) | Memory contents display system in interactive debugger | |
| JPS60233728A (en) | Data display for program |