JPH0465747A - Output system for character padded into message - Google Patents

Output system for character padded into message

Info

Publication number
JPH0465747A
JPH0465747A JP17881990A JP17881990A JPH0465747A JP H0465747 A JPH0465747 A JP H0465747A JP 17881990 A JP17881990 A JP 17881990A JP 17881990 A JP17881990 A JP 17881990A JP H0465747 A JPH0465747 A JP H0465747A
Authority
JP
Japan
Prior art keywords
message
embedded
characters
language
character
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
Application number
JP17881990A
Other languages
Japanese (ja)
Inventor
Masafumi Shinohara
雅史 篠原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17881990A priority Critical patent/JPH0465747A/en
Publication of JPH0465747A publication Critical patent/JPH0465747A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要〕 メツセージに埋込文字を埋め込んで出力する埋込文字出
力方式に関し、 メツセージ中に埋め込む文字の順序情報を予め格納して
おき、これをもとにメツセージ中に埋め込んで所望の言
語のメツセージを表示などし、多くの人にとって分かり
易い診断メツセージなどを任意の言語で表示可能にする
ことを目的とし、メ・7セ一ジ番号に対応づけて、言語
に対応する順序情報を持たせた埋め込み文字を含むメツ
セージを言語毎に予め作成して格納するメツセージテー
ブルを設け、プログラム実行中にエラーなどが発生した
ときに、エラーなどに対応する指定された言語のメツセ
ージ番号のメツセージを上記メツセージテーブルから取
り出し、この取り出したメツセージの埋め込み文字の部
分の順序情報に従ってエラー情報などを当該埋め込み文
字の部分に順次埋め込み出力するように構成する。
[Detailed Description of the Invention] [Summary] Regarding an embedded character output method that embeds embedded characters in a message and outputs the embedded characters, order information of characters to be embedded in a message is stored in advance, and based on this, information on the order of characters to be embedded in a message is output. The aim is to display diagnostic messages that are easy for many people to understand in any language by embedding messages in the desired language. A message table is created in advance to store messages containing embedded characters with order information for each language, and when an error occurs during program execution, a message in the specified language corresponding to the error is generated. The message of the number is taken out from the message table, and error information etc. are sequentially embedded and output in the part of the embedded characters according to the order information of the part of the embedded characters of the extracted message.

〔産業上の利用分野〕[Industrial application field]

本発明は、メツセージに埋込文字を埋め込んで出力する
メツセージ埋込文字出力方式に関するものである。
The present invention relates to a message embedded character output method that embeds embedded characters in a message and outputs the message.

〔従来の技術と発明が解決しようとする課題〕プログラ
ムは、使用法の誤りや情報などを使用者に伝える場合、
診断メソセージを出力する(表示/印刷する)。また、
プログラムを使用している人に判り易いように、その国
の言葉でメツセージを出力している。
[Problems to be solved by conventional technology and the invention] When a program conveys errors in usage or information to the user,
Output (display/print) diagnostic messages. Also,
Messages are output in the language of the country so that the person using the program can easily understand them.

しかし、メツセージ中に複数の埋め込み文字がある場合
、その国の言葉でメツセージを作成し、埋め込み文字の
出力順序を意識したものにするには、文法の違いもあり
、非常に難しく、現状では無理やり埋め込み文字の出力
順序に合わせるために、判り難いメツセージとなってし
まうという問題があった。以下第3図を用いて具体的に
説明する。この例は、モジュールABCを実行中にパラ
メタPGMの値が間違っており、エラーが発生した場合
のものである。
However, when there are multiple embedded characters in a message, it is extremely difficult to create a message in the language of that country and be conscious of the output order of the embedded characters due to differences in grammar. There was a problem in that the message was difficult to understand because it matched the output order of the embedded characters. A detailed explanation will be given below using FIG. 3. In this example, the value of parameter PGM is incorrect and an error occurs while executing module ABC.

第3図において、■は、英文メツセージを示す。In FIG. 3, ■ indicates an English message.

この英文メツセージ中の@@@の部分が埋め込み文字の
入る部分である。
The @@@ part in this English message is where embedded characters are inserted.

■は、■の英文メソセージの埋め込み文字の部分に、P
GM、ABCの順序に埋め込み、表示したものである。
■ is a P in the embedded character part of the English message of ■.
It is embedded and displayed in the order of GM and ABC.

■は、■に対応する日本文メツセージを示す。■ indicates a message in Japanese corresponding to ■.

この日本文メツセージ中の@@@の部分が埋め込み文字
の入る部分である。
The @@@ part in this Japanese message is where embedded characters are inserted.

■は、■の日本文メツセージの埋め込み文字の入る部分
に、PGM、ABCの順序に埋め込んで表示したもので
あり、日本文の言い回しが英文と逆になっており、意味
の通じないメツセージとなっている。
■ is displayed by embedding it in the order of PGM and ABC in the part where the embedded characters are placed in the Japanese message in ■, and the phrasing of the Japanese sentence is reversed from the English sentence, resulting in a message that does not make sense. ing.

■は、■の日本文メツセージの代わりに、■の英文メツ
セージの埋め込み文字の順序と同じ順序で無理やりに作
成した日本文メツセージである。
■ is a Japanese message that was forcibly created in the same order as the embedded characters of the English message ■, instead of the Japanese message ■.

■は、■に埋め込み文字を埋め込んで表示したものであ
る。
■ is a display with embedded characters embedded in ■.

以上の■英文メソセージに埋め込み文字“PGM”AB
C”の順序で埋め込んだ■の英文メツセージに対して、
0日本文メツセージに埋め込み文字“PGM“ABC”
の順序で埋め込んだ■の日本文メツセージを表示するよ
うにしていた。このため、■英文メツセージの埋め込む
文字の順序に合うように、0日本文メツセージを無理や
りに作成していたため、非常に分かり難いメツセージと
なってしまい、ユーザの誤解を招いてしまうという問題
があった。
Embedded characters “PGM” AB in the above ■English message
For the English message of ■ embedded in the order of “C”,
0Embedded characters “PGM”ABC” in Japanese message
I was trying to display the Japanese messages embedded in the order of ■. For this reason, the Japanese message was forcibly created to match the order of the characters to be embedded in the English message, resulting in a message that was extremely difficult to understand, leading to misunderstandings among users. .

本発明は、メツセージ中に埋め込む文字の順序情報を予
め格納しておき、これをもとにメツセージ中に埋め込ん
で所望の言語のメツセージを表示などし、多くの人にと
って分かり易い診断メツセージなどを任意の言語で表示
可能にすることを目的としている。
The present invention stores in advance information on the order of characters to be embedded in a message, and based on this information, embeds the characters in the message and displays the message in a desired language, thereby creating a diagnostic message that is easy for many people to understand. The purpose is to make it possible to display it in the following languages.

〔課題を解決するための手段〕[Means to solve the problem]

第1図を参照して課題を解決するための手段を説明する
Means for solving the problem will be explained with reference to FIG.

第1図において、メツセージテーブル1は、メツセージ
番号に対応づけて、言語に対応する順序情報を持たせた
埋め込み文字(例えば@1@など)を含むメツセージを
言語毎に予め作成して格納するテーブルである。
In FIG. 1, message table 1 is a table in which messages containing embedded characters (for example @1@, etc.) that are associated with message numbers and have order information corresponding to the language are created and stored in advance for each language. It is.

〔作用〕[Effect]

本発明は、第1図に示すように、プログラム実行中にエ
ラーなどが発生したときに、エラーなどに対応する指定
された言語のメツセージ番号のメツセージをメツセージ
テーブル1から取り出し、この取り出したメツセージの
埋め込み文字の部分の順序情報に従ってエラー情報など
を順次埋め込み出力するようにしている。
As shown in FIG. 1, when an error or the like occurs during program execution, the present invention retrieves a message with a message number in a specified language corresponding to the error from a message table 1, and Error information etc. are embedded and output sequentially according to the order information of the embedded character part.

従って、メツセージ中の埋め込み文字部分に埋め込む文
字の順序情報を言語に応じて予め格納しておき、この順
序情報をもとにメツセージ中に埋め込んで所望の言語の
メツセージを表示などすることにより、多くの人にとっ
て分かり易い診断メフセージを任意の言語で表示するこ
とが可能となる。
Therefore, by storing the order information of the characters to be embedded in the embedded character part of the message according to the language in advance, and displaying the message in the desired language by embedding it in the message based on this order information, it is possible to Diagnostic messages that are easy for people to understand can be displayed in any language.

〔実施例〕〔Example〕

次に、第1図および第2図を用いて本発明の1実施例の
構成および動作を順次詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be explained in detail using FIGS. 1 and 2.

第1図において、メソセージテーブル1は、プログラム
をコンパイルした実行可能なロードモジュール中に設け
たものであって、メツセージ番号に対応づけて、言語に
対応する順序情報を持たせた埋め込み文字(例えば@1
@など)を含むメツセージを言語毎に予め作成して格納
したテーブルである。ここでは、英文メツセージおよび
日本文メツセージの2つの言語のメツセージを格納しで
ある。メツセージ中の@@@、@1@などが埋め込み文
字である。@@@は、埋め込み文字の埋め込む順序の指
定がない場合であって、埋め込み文字例えば“PGM″
 ABC”などを先頭から順番に埋め込む。一方、@2
@、@1@は、埋め込み文字の埋め込む順序を指定した
場合であって、当該埋め込み文字に含まれる順序に従っ
て埋め込み文字を埋め込むようにしている(第2図を用
いて後述する)。
In FIG. 1, a message table 1 is provided in an executable load module obtained by compiling a program, and contains embedded characters (for example, @1
This is a table in which messages containing characters such as @) are created and stored in advance for each language. Here, messages in two languages, English messages and Japanese messages, are stored. @@@, @1@, etc. in a message are embedded characters. @@@ is used when there is no specification of the order in which embedded characters are embedded, such as "PGM"
ABC" etc. are embedded in order from the beginning. On the other hand, @2
@ and @1@ are cases in which the order in which the embedded characters are to be embedded is specified, and the embedded characters are embedded in the order included in the embedded characters (described later with reference to FIG. 2).

埋込文字テーブル2は、メツセージテーブル1から取り
出した該当するメツセージ番号のメツセージに埋め込み
文字を順次埋め込むときに使用するテーブルである。例
えばモジュール名“ABC”のモジュールを実行中にパ
ラメタ“PGM″の値にエラーがあり、エラーメツセー
ジを表示する場合、IDIに対応するパラメタ“PGM
″[D2に対応するモジュール名″ABC”をメツセー
ジテーブル1中のメツセージ番号100から取り出した
メツセージに図示点線の矢印を用いて示したように埋め
込むためのものである。
The embedding character table 2 is a table used to sequentially embed embedding characters into the message of the corresponding message number taken out from the message table 1. For example, if there is an error in the value of parameter "PGM" while executing a module with module name "ABC" and an error message is displayed, the parameter "PGM" corresponding to IDI
This is to embed the module name "ABC" corresponding to "D2" into the message extracted from message number 100 in the message table 1 as shown by the dotted arrow in the figure.

次に、第2図を用いて第1図構成の動作を詳細に説明す
る。
Next, the operation of the configuration shown in FIG. 1 will be explained in detail using FIG.

第2図において、■は、プログラムデータ処理の実行を
開始する。
In FIG. 2, ■ starts execution of program data processing.

■は、エラー発生(パラメタ部のミス)する。■: An error occurs (error in the parameter section).

これは、例えばモジュール名“ABC″のモジュールを
実行中にパラメタ部の“PGM″の値にミスがありエラ
ーが発生する。
For example, while executing a module with the module name "ABC", there is an error in the value of "PGM" in the parameter section, and an error occurs.

このエラー発生に対応して、埋め込み文字部を設定する
。例えば出力埋め込み文字1番目にパラメタ名“PGM
”を設定、および出力埋め込み文字2番目にモジュール
名“ABC”を設定する。
In response to this error occurrence, set the embedded character section. For example, the first output embedded character is the parameter name "PGM"
” and set the module name “ABC” as the second output embedded character.

これらは、第1図埋込文字テーブル2のIDI、ID2
に対応づけて出力埋め込み文字1番目、2番目のパラメ
タ名“PGM”、モジュール名“ABC”を図示のよう
にそれぞれ設定する。
These are IDI and ID2 of embedded character table 2 in Figure 1.
The first and second output embedded characters parameter name "PGM" and module name "ABC" are respectively set as shown in the figure.

■は、メツセージ出力ルーチン(内部/外部)の呼び出
しを行い、メツセージを出力する。これは、メツセージ
を出力する設定モード(出力外国語の種類、例えば日本
語、英語など)を調べる。
■ Calls the message output routine (internal/external) and outputs the message. This checks the setting mode for outputting the message (type of output foreign language, eg Japanese, English, etc.).

その外国語に対応するメツセージ出力する。例えば設定
モードが日本語の場合、メツセージ定義体をもとに日本
語メツセージ出力する(@2@にはモジュール名“AB
C″設定、@1@にはパラメタ名“PGM”設定する)
。これは、第1図メツセージテーブル1中の日本文メツ
セージのメツセージ番号100のメツセージ モジュール @2@ のパラメタ @1@ は、間違っ
ています。
A message corresponding to the foreign language is output. For example, if the setting mode is Japanese, a Japanese message will be output based on the message definition (@2@ is the module name "AB".
C" setting, @1@ set parameter name "PGM")
. This is because the parameter @1@ of message module @2@ of message number 100 of the Japanese message in message table 1 in Figure 1 is wrong.

中の埋め込み文字“@2@”@1@”の部分に0で設定
した2番目の“ABC″、1番目の“PGM″の順序で
埋め込み、■に示すような日本文メツセージを出力する
The second "ABC" set to 0 and the first "PGM" are embedded in the embedded characters "@2@"@1@" in that order, and a Japanese message as shown in (2) is output.

■は、プログラムデータ処理終了する。(2) ends the program data processing.

■は、0で出力した日本文メツセージを示す。■ indicates a Japanese message output with 0.

これば、上述したように、@のエラー発生に対応して埋
め込み文学部設定し、■のメツセージ出力ルーチンで取
り出した日本文メツセージ(第1図メツセージ番号10
0から取り出した日本文メツセージ)中の埋め込み文字
“@2@”@1@”の部分に、当該順番で“ABC”P
GM”を埋め込んで表示したものである。
In this case, as mentioned above, in response to the @ error occurrence, the embedded literature section is set, and the Japanese message (message number 10 in Figure 1) retrieved by the message output routine in ■ is displayed.
In the embedded characters “@2@” @1@” in the Japanese message extracted from 0), “ABC” P is inserted in the corresponding order.
GM" is embedded and displayed.

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

以上説明したように、本発明によれば、メツセージ中の
埋め込み文字部分に埋め込む文字の順序情報を言語に応
じて予め格納しておき、この順序情報をもとにメツセー
ジ中に埋め込んで所望の言語のメンセージを表示などす
る構成を採用しているため、多くの人にとって分かり易
い診断メツセージなどを任意の言語で表示などすること
ができる。
As explained above, according to the present invention, the order information of characters to be embedded in the embedded character part of a message is stored in advance according to the language, and the order information is embedded in the message based on this order information to select the desired language. Since the system adopts a configuration that displays diagnostic messages, etc., diagnostic messages that are easy for many people to understand can be displayed in any language.

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

第1図は本発明の1実施例構成図、第2図は本発明の動
作説明図、第3図は従来技術の説明図を示す。 図中、1はメツセージテーブル、2は埋込文字テーブル
、@@@、@1@、@2@は埋込文字を表す。
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is an explanatory diagram of the operation of the present invention, and FIG. 3 is an explanatory diagram of the prior art. In the figure, 1 represents a message table, 2 represents an embedded character table, and @@@, @1@, and @2@ represent embedded characters.

Claims (1)

【特許請求の範囲】 メッセージに埋込文字を埋め込んで出力する埋込文字出
力方式において、 メッセージ番号に対応づけて、言語に対応する順序情報
を持たせた埋め込み文字を含むメッセージを言語毎に予
め作成して格納するメッセージテーブル(1)を設け、 プログラム実行中にエラーなどが発生したときに、エラ
ーなどに対応する指定された言語のメッセージ番号のメ
ッセージを上記メッセージテーブル(1)から取り出し
、この取り出したメッセージの埋め込み文字の部分の順
序情報に従ってエラー情報などを当該埋め込み文字の部
分に順次埋め込み出力するように構成したことを特徴と
するメッセージ埋込文字出力方式。
[Claims] In an embedded character output method that embeds embedded characters in a message and outputs the embedded characters, a message containing embedded characters that is associated with a message number and has order information corresponding to the language is generated in advance for each language. A message table (1) is created and stored, and when an error occurs during program execution, a message with a message number in a specified language corresponding to the error is retrieved from the message table (1) and this 1. A message embedded character output method, characterized in that the message embedded character output method is configured to sequentially embed and output error information, etc. in the embedded character part of an extracted message according to order information of the embedded character part.
JP17881990A 1990-07-05 1990-07-05 Output system for character padded into message Pending JPH0465747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17881990A JPH0465747A (en) 1990-07-05 1990-07-05 Output system for character padded into message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17881990A JPH0465747A (en) 1990-07-05 1990-07-05 Output system for character padded into message

Publications (1)

Publication Number Publication Date
JPH0465747A true JPH0465747A (en) 1992-03-02

Family

ID=16055217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17881990A Pending JPH0465747A (en) 1990-07-05 1990-07-05 Output system for character padded into message

Country Status (1)

Country Link
JP (1) JPH0465747A (en)

Similar Documents

Publication Publication Date Title
WO2001035216A2 (en) Any-to-any component computing system
US5850220A (en) Image display apparatus and a recording medium displaying a message as a screen saver
JPH0465747A (en) Output system for character padded into message
JPH07302036A (en) Formation of exercise for cai to be executed on personal computer
JP2020140374A (en) Electronic book reproducing device and digital book reproducing program
JPS6022236A (en) Message output system
JP2728451B2 (en) How to forward email with voice
JP2973520B2 (en) Display method in electronic document editing device
JPH04347727A (en) Method and device for automatically correcting program
KR20180082455A (en) System and method for multi-language communication sequencing
JP2899281B2 (en) Idiom registration device
JPH05165886A (en) Natural language processor
JPH07104787B2 (en) Knowledge base creation device
JPH03257660A (en) Kana-kanji conversion display system
JP2000089946A (en) Method for customizing message text and help text, and recording medium storing program for implementing the customizing method
JPH0378079A (en) Interactive text preparing system
JPS60117378A (en) Word processor
JPH03282937A (en) Precompiler
JPH0273454A (en) Document processor
JPH05282277A (en) Automatic generating device for input data of process simulator
JPH03166642A (en) Method and device for inputting text
JPS6368929A (en) System for displaying format of language in-use in information processor
JPH01318145A (en) Word processor
JPH01195565A (en) Command calling system for conversational processing system
JPS61170863A (en) Operation manual automatic generating system