KR100229567B1 - Coordination and text value generation method - Google Patents
Coordination and text value generation method Download PDFInfo
- Publication number
- KR100229567B1 KR100229567B1 KR1019970034157A KR19970034157A KR100229567B1 KR 100229567 B1 KR100229567 B1 KR 100229567B1 KR 1019970034157 A KR1019970034157 A KR 1019970034157A KR 19970034157 A KR19970034157 A KR 19970034157A KR 100229567 B1 KR100229567 B1 KR 100229567B1
- Authority
- KR
- South Korea
- Prior art keywords
- result
- row
- check
- space
- character
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
본 발명은 시스템 프로그래머가 오버레이 개념을 적용하여 프로그램을 작성하는 경우에, 코딩에 필요한 좌표값과 텍스트값을 자동적으로 생성하는 방법에 관한 것이다. 본 발명은, 입력파일과 결과를 출력할 출력파일이름을 입력하는 과정(S1); 입력파일내에서 검색을 시작할 행을 찾는 과정(S2); 지정된 입력파일로부터 1문자를 읽어내는 과정(S3); 열의 끝인지를 확인하는 과정(S4); 상기 과정(S4)에서의 확인 결과 열의 끝이 아니면 읽어낸 한 문자가 스페이스인지를 확인하는 과정(S5); 상기 과정(S4)에서 확인 결과 열의 끝이면 행을 한 행 증가시키는 과정(S6); 상기 과정(S5)에서의 확인 결과 스페이스이면 바로 전에 읽어낸 문자도 스페이스인지를 확인하는 과정(S7); 상기 과정(S7)에서의 확인 결과 스페이스이면 상기 과정(S3)을 수행하도록 하는 과정(S8); 상기 과정(S7)에서의 확인 결과 스페이스가 아니면 특수문자인지를 확인하는 과정(S9); 상기 과정(S9)에서의 확인 결과 특수문자이면 행, 열 및 특수문자를 출력파일에 출력하는 과정(S10); 상기 과정(S9)에서의 확인 결과 특수문자가 아니면 행, 열 뒤에 "word_"라는 문자열과 그 동안 버퍼에 저장된 보통문자열을 출력파일에 출력하는 과정(S11); 상기 과정(S5)에서의 확인 결과 스페이스가 아니면 특수문자인지 확인하는 과정(S12); 상기 과정(S12)에서의 확인 결과 특수문자이면 바로 전에 읽어낸 문자가 스페이스인지를 확인하는 과정(S13); 상기 과정(S13)에서의 확인 결과 스페이스이면 행, 열 및 특수문자를 출력파일에 출력하는 과정(S14); 상기 과정(S13)에서의 확인 결과 스페이스가 아니면 행, 열 뒤에 "word_"라는 문자열과 그 동안 버퍼에 저장된 문자열과 행, 열 및 특수문자를 이어서 출력하는 과정(S15); 상기 과정(S12)에서의 확인 결과 특수문자가 아니면 버퍼에 저장된 문자열 끝에 새로 읽은 한 문자를 추가하는 과정(S16); 상기 과정(S6)을 수행한 뒤 다음 줄의 내용을 조사하는 과정(S17); 상기 과정(S17)을 수행한 뒤 행이 25행 이하인지를 확인하는 과정(S18); 상기 과정(S18)에서의 확인 결과 25행 이하이면 행을 시작행으로 재조정한 뒤 상기 과정(S3)을 수행하는 과정(S19); 상기 과정(A18)에서의 확인 결과 25행 이상이면 "0, 0, word_null"을 출력파일에 추가하는 과정(S20)을 포함하여 이루어지는 것이 특징이다.The present invention relates to a method for automatically generating coordinate values and text values required for coding when a system programmer writes a program by applying an overlay concept. The present invention, the step of inputting the input file and the output file name to output the result (S1); Finding a row in the input file to start searching (S2); Reading one character from a designated input file (S3); Checking whether the end of the column (S4); A step (S5) of checking whether a character read is a space unless the end of the check result column in the step (S4); Increasing the row by one row if it is the end of the check result column (S6) in step S4; Checking whether the character read immediately before the space is a space as a result of the check in step S5 (S7); Step S8 of performing the step S3 if the result of the check in step S7 is a space; A step S9 of checking whether a space is a special character if it is not a space in the step S7; Outputting a row, a column, and a special character to an output file if the special character is a result of the check in step S9; Outputting a character string "word_" after a row or a column and a normal string stored in the buffer to the output file if it is not a special character as a result of the checking in the step S9; A step S12 of checking whether a space is a special character if it is not a result of the check in step S5; Checking whether the character read immediately before is a space if the special character is checked in the step S12 (S13); Outputting a row, a column, and a special character to an output file if the result of the check in step S13 is a space; Outputting a string "word_" followed by a row and a column and a string, a row, a column, and a special character stored in the buffer during the step (S15) if the result of the check is not a space; Adding the newly read one character to the end of the string stored in the buffer if it is not a special character as a result of the checking in the step S12; Performing a step (S6) and then examining the contents of the next line (S17); Checking whether the row is 25 rows or less after performing the step (S17) (S18); If the result of the check in step S18 is 25 rows or less, readjusting the row to the start row and then performing step S3; If the result of the check in step A18 is 25 or more lines, the step S20 includes adding “0, 0, word_null” to the output file.
Description
본 발명은 시스템 프로그래머가 오버레이 개념을 적용하여 프로그램을 작성하는 경우에, 코딩에 필요한 좌표값과 텍스트값을 자동적으로 생성하는 방법에 관한 것이다.The present invention relates to a method for automatically generating coordinate values and text values required for coding when a system programmer writes a program by applying an overlay concept.
일반적으로 컴퓨터분야에서 오버레이(overlay)란 용어는, CRT화면상에서 사용자가 시스템의 구체적인 정보를 얻으려고 할 때, 화면에 그 정보를 텍스트로 하나하나씩 뿌려주는 프로그램을 말한다. 따라서 종래에는 프로그래머가 상기와 같은 오버레이 개념에 입각한 프로그램을 작성할 때, 화면상에서 텍스트를 하나하나 수동으로 코딩하였다. 이것은 코딩작업의 효율성을 상당히 저하시키는 요인이 된다.In general, the term overlay in the computer field refers to a program that sprinkles the information one by one on the screen when the user tries to obtain specific information of the system on the CRT screen. Therefore, conventionally, when a programmer writes a program based on the above-described overlay concept, text is manually coded one by one on the screen. This is a factor that significantly reduces the efficiency of coding.
오버레이 개념이 적용되는 시스템 프로그램업무에서 발생되는 문제점의 설명을 위해 페이징 시스템을 예로 든다.Paging system is taken as an example to explain the problem that occurs in the system program task to which the overlay concept is applied.
페이징 시스템에서 쓰이고 있는, 오버레이 개념이 적용되는 프로그램 가운데 콤맨드 태스크(command task)란 것이 있다. 상기한 콤맨드 태스크란 마스터 보드(master board)와 슬레이브 보드(slave board)간의 동기를 맞추는 어드미니스트레이션 태스크(administration task)를 뜻한다.One of the programs in the paging system that uses the concept of overlays is the command task. The command task refers to an administration task for synchronizing synchronization between a master board and a slave board.
도 1은 램의 메모리 영역이 작업영역, 태스크영역, 텍스트 테이블영역, 오버레이영역등 여러 가지 영역으로 나뉘어져 있는 상태를 나타내는 도면이다. 도 2는 A, B, C, D등 여러개의 오버레이영역으로 나누어진 롬과 HDD의 상태를 나타내는 도면이다.1 is a diagram illustrating a state in which a memory area of a RAM is divided into various areas such as a work area, a task area, a text table area, and an overlay area. 2 is a view showing the state of a ROM and an HDD divided into several overlay areas such as A, B, C, and D. FIG.
상기 콤맨드 태스크 가운데 CRT 태스크가 있다. CRT 태스크는, 도 1에서와 같이 여러 영역으로 이루어져 있는 램에 있어서, 운영자가 오버레이 영역을 사용하기 위해서는, 운영자가 선택한 화면에 해당하는 특정 오버레이를 도 2의 롬이나 하드 디스크로부터 읽어 들인다. 이때 운영자는 상기한 여러 오버레이 가운데 어느 지정시간 동안은 한 종류의 오버레이만 사용한다. 그래서 필요한 오버레이만 선택하여 램에 로드(load)한다.Among the command tasks are CRT tasks. In the RAM having a plurality of areas as shown in FIG. 1, the CRT task reads a specific overlay corresponding to the screen selected by the operator from the ROM or the hard disk of FIG. 2 in order for the operator to use the overlay area. At this time, the operator uses only one type of overlay for a predetermined time among the above-mentioned overlays. So we select only the overlays we need and load them into RAM.
이때 만약 롬에 있는 오버레이가 A, B, C, D 네 종류라고 하면, 각 오버레이에서 사용되는 문자(text)들이 존재하게 된다. 이러한 문자들을 각각 Atxt, Btxt, Ctxt 및 Dtxt라고 하면, 도 1의 텍스트 테이블 역시 메모리 절약을 위해 Atxt ∪ Btxt ∪ Ctxt ∪ Dtxt를 수행하도록 하여 텍스트가 두 번이상 중복되어 저장되는 일이 없다. 이때 Atxt는 A 오버레이에서 사용된 텍스트들의 집합을 뜻한다.If there are four types of overlays in ROM, A, B, C, and D, there are texts used in each overlay. If these characters are called Atxt, Btxt, Ctxt, and Dtxt, respectively, the text table of FIG. 1 also performs Atxt ∪ Btxt ∪ Ctxt ∪ Dtxt to save memory so that the text is not duplicated and stored more than once. Atxt is the set of texts used in the A overlay.
따라서, 불가피하게 프로그래머가 화면에 'Are you sure?' 라는 메시지를 나타내도록 코딩하기 위해서는 좌표값과 문자값을 하나 하나씩 써 주어야만 한다. 도 3은 이 경우에 오버레이 코딩을 한 예를 나타낸 도면이다. 도 3a는 상기 'Are you sure?'라는 메시지 가운데의 각 단어의 처음 위치를 나타낸 것이다. 그리고 도 3b는 오버레이 코딩의 일예다. 도 4 는 도 3b를 확대한 도면이다.Therefore, the programmer inevitably asks 'Are you sure?' In order to code to display the message, you have to write the coordinate value and the character value one by one. 3 shows an example of overlay coding in this case. Figure 3a shows the first position of each word in the message 'Are you sure?' 3B is an example of overlay coding. 4 is an enlarged view of FIG. 3B.
도 3b의 '23,3,word_Are' 은 'Are'라는 단어의 첫 글자인 'A'의 위치가 23행 3째열임을 뜻한다. 즉 앞의 '23,3'은 'A'라는 글자의 좌표값을 나타내고, 뒤의 'word_Are'는 텍스트값을 나타낸다.'23, 3, word_Are 'in FIG. 3B means that the position of' A ', which is the first letter of the word' Are ', is 23rd row and 3rd column. That is, the first '23, 3 'represents the coordinate value of the letter' A ', and the second' word_Are 'represents the text value.
하지만 이로부터 발생하는 문제점은 코딩시 좌표계산과 지정에 시간이 많이 걸리며, 컴파일시 사소하게 쉼표같은 것을 빠뜨려서 에러를 많이 유발하게 된다. 또 컴파일과 링크를 실행한 뒤 시스템내의 메모리보드로 다운로드하여 실행시켜 보면 화면 출력이 예상했던 것과 달라서 여러번 재수정을 해야 한다.However, the problem that arises from this is that it takes a lot of time to calculate and specify the coordinates when coding, and it causes a lot of errors due to missing a comma when compiling. In addition, after compiling and linking and downloading and executing the memory board in the system, the screen output is different from what was expected, and it has to be re-modified many times.
따라서 본 발명은 상기한 바와 같은 문제점들을 해결하기 위하여 고안된 것으로서, 오버레이 프로그램을 프로그래머가 코딩할 때 일일이 텍스트 하나 하나씩 좌표값을 눈으로 확인해 가면서 수작업으로 코딩하는 것을 지양하고, 이것을 보조 프로그램을 써서 어느정도까지는 자동으로 해결해 주도록 하는 방법을 제공하는 것을 목적으로 한다. 즉 본 발명의 목적은 종래와 같은 단순작업시간을 줄이고, 에러를 최소화하여 오버레이 코딩의 효율성을 극대화하는데 있다. 그리고 코딩작업이 끝나서 컴파일과 링크를 수행한 후 시스템내의 메모리 보드로 다운 로드하여 실행시켜 보아서, 화면 출력이 예상과 다른 경우 코딩을 재수정해야 하는 횟수를 줄이는 방법을 제공하는 것이다.Therefore, the present invention is designed to solve the problems as described above, and when coding the overlay program, the programmer avoids coding by hand while checking the coordinate values one by one by hand, and to some extent by using an auxiliary program. Its purpose is to provide a way to automatically resolve it. That is, an object of the present invention is to reduce the simple work time as described above, and to minimize the error to maximize the efficiency of overlay coding. After completing the coding work, compile and link, download and execute the memory board in the system, and provide a way to reduce the number of times the coding needs to be modified if the screen output is not as expected.
도 1은 램의 메모리 할당 상태를 나타내는 도면1 is a diagram illustrating a memory allocation state of a RAM;
도 2는 롬의 메모리 할당 상태와 HDD를 타나내는 도면Fig. 2 shows the memory allocation status of the ROM and the HDD.
도 3은 오버레이 코딩의 예3 is an example of overlay coding
도 4는 도 3의 확대도4 is an enlarged view of FIG. 3.
도 5는 오버레이 코딩의 또 다른 예5 is another example of overlay coding
도 6은 본 발명에 의한 오버레이 코딩시 좌표값과 텍스트값 생성방법을 나타내는 흐름도6 is a flowchart illustrating a method of generating coordinate values and text values when overlay coding according to the present invention.
도 7은 출력내용의 사용 예7 is an example of the use of the output content
도 8은 본 발명에 의한 툴의 사용 예8 is an example of use of the tool according to the present invention.
도 9는 본 발명에 의한 주석부의 예9 is an example of an annotation portion according to the present invention
상기한 바와 같은 목적을 달성하기 위한 본 발명은, 입력파일과 결과를 출력할 출력파일이름을 입력하는 과정(S1); 입력파일내에서 검색을 시작할 행을 찾는 과정(S2); 지정된 입력파일로부터 1문자를 읽어내는 과정(S3); 열의 끝인지를 확인하는 과정(S4); 상기 과정(S4)에서의 확인 결과 열의 끝이 아니면 읽어낸 한 문자가 스페이스인지를 확인하는 과정(S5); 상기 과정(S4)에서 확인 결과 열의 끝이면 행을 한 행 증가시키는 과정(S6); 상기 과정(S5)에서의 확인 결과 스페이스이면 바로 전에 읽어낸 문자도 스페이스인지를 확인하는 과정(S7); 상기 과정(S7)에서의 확인 결과 스페이스이면 상기 과정(S3)을 수행하도록 하는 과정(S8); 상기 과정(S7)에서의 확인 결과 스페이스가 아니면 특수문자인지를 확인하는 과정(S9); 상기 과정(S9)에서의 확인 결과 특수문자이면 행, 열 및 특수문자를 출력파일에 출력하는 과정(S10); 상기 과정(S9)에서의 확인 결과 특수문자가 아니면 행, 열 뒤에 "word_"라는 문자열과 그 동안 버퍼에 저장된 보통문자열을 출력파일에 출력하는 과정(S11); 상기 과정(S5)에서의 확인 결과 스페이스가 아니면 특수문자인지 확인하는 과정(S12); 상기 과정(S12)에서의 확인 결과 특수문자이면 바로 전에 읽어낸 문자가 스페이스인지를 확인하는 과정(S13); 상기 과정(S13)에서의 확인 결과 스페이스이면 행, 열 및 특수문자를 출력파일에 출력하는 과정(S14); 상기 과정(S13)에서의 확인 결과 스페이스가 아니면 행, 열 뒤에 "word_"라는 문자열과 그 동안 버퍼에 저장된 문자열과 행, 열 및 특수문자를 이어서 출력하는 과정(S15); 상기 과정(S12)에서의 확인 결과 특수문자가 아니면 버퍼에 저장된 문자열 끝에 새로 읽은 한 문자를 추가하는 과정(S16); 상기 과정(S6)을 수행한 뒤 다음 줄의 내용을 조사하는 과정(S17); 상기 과정(S17)을 수행한 뒤 행이 25행 이하인지를 확인하는 과정(S18); 상기 과정(S18)에서의 확인 결과 25행 이하이면 행을 시작행으로 재조정한 뒤 상기 과정(S3)을 수행하는 과정(S19); 상기 과정(A18)에서의 확인 결과 25행 이상이면 "0, 0, word_null"을 출력파일에 추가하는 과정(S20)을 포함하여 이루어지는 것이 특징이다.The present invention for achieving the above object, the step of inputting the input file and the output file name to output the result (S1); Finding a row in the input file to start searching (S2); Reading one character from a designated input file (S3); Checking whether the end of the column (S4); A step (S5) of checking whether a character read is a space unless the end of the check result column in the step (S4); Increasing the row by one row if it is the end of the check result column (S6) in step S4; Checking whether the character read immediately before the space is a space as a result of the check in step S5 (S7); Step S8 of performing the step S3 if the result of the check in step S7 is a space; A step S9 of checking whether a space is a special character if it is not a space in the step S7; Outputting a row, a column, and a special character to an output file if the special character is a result of the check in step S9; Outputting a character string "word_" after a row or a column and a normal string stored in the buffer to the output file if it is not a special character as a result of the checking in the step S9; A step S12 of checking whether a space is a special character if it is not a result of the check in step S5; Checking whether the character read immediately before is a space if the special character is checked in the step S12 (S13); Outputting a row, a column, and a special character to an output file if the result of the check in step S13 is a space; Outputting a string "word_" followed by a row and a column and a string, a row, a column, and a special character stored in the buffer during the step (S15) if the result of the check is not a space; Adding the newly read one character to the end of the string stored in the buffer if it is not a special character as a result of the checking in the step S12; Performing a step (S6) and then examining the contents of the next line (S17); Checking whether the row is 25 rows or less after performing the step (S17) (S18); If the result of the check in step S18 is 25 rows or less, readjusting the row to the start row and then performing step S3; If the result of the check in step A18 is 25 or more lines, the step S20 includes adding “0, 0, word_null” to the output file.
본 발명에서는 오버레이 프로그램의 코딩시 도 3 에서와 같은 좌표값과 텍스트값이 자동적으로 생성되도록 하여, 보다 효율적인 코딩이 가능하도록을 할 수 있도록 한다.In the present invention, when the overlay program is coded, coordinates and text values as shown in FIG. 3 are automatically generated to enable more efficient coding.
도 5는 오버레이 코딩시의 주석부와 코딩부를 나타낸 도면이다. 여기서 주석부를 입력 파일로 만들어 놓으면, 프로그램이 도 6과 같은 흐름으로 처리되어 출력 파일을 만들게 된다. 도 7 은 프로그래머가 코딩할 때 출력내용을 사용하는 방법을 예시한 도면이고, 도 8 은 본 발명의 툴을 사용하는 방법을 예시한 도면이다. 그리고 도 9 는 본 발명에 의한 주석부의 예를 나타내는 도면이다.5 is a diagram illustrating an annotation unit and a coding unit in overlay coding. In this case, if the comment portion is made into an input file, the program is processed in the flow as shown in FIG. 6 to create an output file. 7 is a diagram illustrating a method of using an output when a programmer codes, and FIG. 8 is a diagram illustrating a method of using a tool of the present invention. 9 is a view showing an example of the annotation unit according to the present invention.
이하 도 6을 참조하여 본 발명의 작동원리에 대하여 보다 상세하게 설명한다.Hereinafter, the operation principle of the present invention will be described in more detail with reference to FIG. 6.
[단계 1] 입력파일의 이름과 출력파일의 이름을 입력한다.[Step 1] Enter the input file name and the output file name.
[단계 2] 입력파일내에서 검색을 시작할 행을 찾는다. 도 3의 b에서 보듯이 슬래쉬(/) 다음에 '*' 다음에 숫자가 이어서 나오면 행으로 인식해서 전역변수 row에 저장하도록 한다.[Step 2] Find the line in the input file to start searching. As shown in b of FIG. 3, when a slash (/) is followed by a '*' and a number follows, it is recognized as a row and stored in the global variable row.
[단계 3] 지정된 입력파일로부터 1문자를 읽어낸다.[Step 3] Read 1 character from the designated input file.
[단계 4] 열의 끝인지를 확인한다.[Step 4] Make sure you are at the end of the column.
[단계 5] 상기 단계 4 에서의 확인 결과 열의 끝이 아니면 읽어낸 한 문자가 스페이스인지를 확인한다.[Step 5] If the result of the check in Step 4 is not the end of the string, it is checked whether one character read is a space.
[단계 6] 상기 단계 4 에서 확인 결과 열의 끝이면 행을 한 행 증가시킨다.[Step 6] If the check result is the end of the column in step 4, the row is increased by one row.
[단계 7] 상기 단계 5 에서의 확인 결과 스페이스이면 바로 전에 읽어낸 문자도 스페이스인지를 확인한다.[Step 7] If the result of the check in step 5 is a space, it is checked whether the character read immediately before is also a space.
[단계 8] 상기 단계 7 에서의 확인 결과 스페이스이면 상기 과정(S3)을 수행하도록 한다.[Step 8] If the result of the check in step 7 is a space, the process (S3) is performed.
[단계 9] 상기 단계 7 에서의 확인 결과 스페이스가 아니면 특수문자인지를 확인한다.[Step 9] If the result of the check in step 7 is not a space, it is checked whether it is a special character.
[단계 10] 상기 단계 9 에서의 확인 결과 특수문자이면 행, 열 및 특수문자를 출력파일에 출력한다.[Step 10] If the result of the check in Step 9 is a special character, a line, a column, and a special character are output to the output file.
[단계 11] 상기 단계 9 에서의 확인 결과 특수문자가 아니면 행, 열 뒤에 "word_"라는 문자열과 그 동안 버퍼에 저장된 보통문자열을 출력파일에 출력한다.[Step 11] If the result of the check in Step 9 is not a special character, the string "word_" after the line and column and the normal string stored in the buffer are output to the output file.
[단계 12] 상기 단계 5 에서의 확인 결과 스페이스가 아니면 특수문자인지 확인한다.[Step 12] If the result of the check in Step 5 is not a space, it is checked whether it is a special character.
[단계 13] 상기 단계 12 에서의 확인 결과 특수문자이면 바로 전에 읽어낸 문자가 스페이스인지를 확인한다.[Step 13] If the result of the check in step 12 is a special character, it is checked whether the character immediately read is a space.
[단계 14] 상기 단계 13 에서의 확인 결과 스페이스이면 행, 열 및 특수문자를 출력파일에 출력한다.[Step 14] If the result of the check in step 13 is a space, the rows, columns, and special characters are output to the output file.
[단계 15] 상기 단계 13 에서의 확인 결과 스페이스가 아니면 행, 열 뒤에 "word_"라는 문자열과 그 동안 버퍼에 저장된 문자열과 행, 열 및 특수문자를 이어서 출력한다.[Step 15] If the result of the check in step 13 is not a space, the string "word_" is followed by a row and a column, followed by a string, a row, a column, and a special character stored in the buffer.
[단계 16] 상기 단계 12 에서의 확인 결과 특수문자가 아니면 버퍼에 저장된 문자열 끝에 새로 읽은 한 문자를 추가한다.[Step 16] If the result of the check in Step 12 is not a special character, the newly read one character is added to the end of the string stored in the buffer.
[단계 17] 상기 단계 6 을 수행한 뒤 다음 줄의 내용을 조사한다.[Step 17] After performing Step 6, examine the contents of the next line.
[단계 18] 상기 단계 17 을 수행한 뒤 행이 25행 이하인지를 확인한다.[Step 18] After performing step 17, it is checked whether the row is 25 rows or less.
[단계 19] 상기 단계 18 에서의 확인 결과 25행 이하이면 행을 시작행으로 재조정한 뒤 상기 단계 3 을 수행한다.[Step 19] If the result of the check in step 18 is 25 rows or less, step 3 is performed after the row is readjusted to the start row.
[단계 20] 상기 단계 18 에서의 확인 결과 25행 이상이면 "0, 0, word_null"을 출력파일에 추가한다.[Step 20] If the result of the check in Step 18 is 25 or more lines, "0, 0, word_null" is added to the output file.
본 발명의 툴은 도 8 에서와 같이 사용가능하다. 도 8에서 맨 앞의 a.out 는 디폴트로 출력 파일을 만드는 경우를 뜻하며, 원하는 이름으로 이름을 변경하여 사용가능하게 하여주는 명령이다.The tool of the present invention can be used as in FIG. In FIG. 8, the first a.out denotes a case of creating an output file by default, and is a command for changing the name to a desired name and making it available.
도 8 의 두 번째 항목인 /1 은, 주석부를 종류를 나타내는 것으로서, 주석부가 도 3 과 같으면 2, 도 9 와 같으면 1을 사용한다.8, which is the second item in FIG. 8, indicates the type of the annotation portion. When the annotation portion is equal to FIG. 3, 2 is used.
도 8 의 마지막 항목인 /1 은, 한 줄에 도 4 와 같은 좌표값과 텍스트값의 쌍이 몇 개나 출력파일에 출력될지의 여부를 나타낸다.The last item of FIG. 8, / 1, indicates how many pairs of coordinate values and text values as shown in FIG. 4 are output in one output line.
예로서 도 9 와 같이 명령을 내리면 "Source File Name"이란 프롬프트(prompt)가 뜨고, 이후 상기 프롬프트 다음에 자신이 변환하고싶은 부분의 주석부를 복사해서 넣은 입력파일명을 쓴다. 다음에 "Destination File Name"이란 프롬프트가 나오면, 이 경우에도 역시 결과가 출력되기를 원하는 출력파일 이름을 상기 프롬프트 다음에 입력한다. 출력파일을 본인의 오버레이 코딩으로 집어넣고 원하는대로 편집해서 사용한다(도 7을 참조).For example, when the command is issued as shown in FIG. 9, a prompt of “Source File Name” appears, and then the input file name in which the comment part of the part to be converted is copied after the prompt is written. Next, when the prompt "Destination File Name" is displayed, in this case, also enter the output file name after which the output is desired. Put the output file into your own overlay coding and edit and use it as you wish (see Figure 7).
상술한 바와 같이, 본 발명은 배열변수에 좌표계산과 지정에 걸리는 시간을 단축시켜주며, 컴파일시 발생하는 에러를 대폭적으로 줄여주고, 좌표지정과 같은 단순 작업에 시간과 힘을 허비하다 보면 하루에 많은 작업을 하기가 쉽지않은 점을 개선하여 생산성이 개선된다. 그리고 나중에 추가할 항목이 생겨도 좌표작성이 용이하여 업그레이드가 편해진다. 즉, 본 발명의 방법은 오버레이 코딩을 효율화 시켜준다.As described above, the present invention shortens the time required for calculating and assigning coordinates to array variables, greatly reduces errors in compilation, and wastes time and power in simple tasks such as specifying coordinates. Productivity is improved by improving the difficulty of working. And even if you have items to add later, you can easily create coordinates and upgrade. That is, the method of the present invention makes the overlay coding efficient.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970034157A KR100229567B1 (en) | 1997-07-22 | 1997-07-22 | Coordination and text value generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970034157A KR100229567B1 (en) | 1997-07-22 | 1997-07-22 | Coordination and text value generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990011172A KR19990011172A (en) | 1999-02-18 |
KR100229567B1 true KR100229567B1 (en) | 1999-11-15 |
Family
ID=19515244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970034157A KR100229567B1 (en) | 1997-07-22 | 1997-07-22 | Coordination and text value generation method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100229567B1 (en) |
-
1997
- 1997-07-22 KR KR1019970034157A patent/KR100229567B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19990011172A (en) | 1999-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20060120539A (en) | Graphical programing device and programmable indicator | |
US5826088A (en) | System for protecting computer software written in interpreted language | |
JP2001236244A (en) | Debug system for robot program | |
KR100229567B1 (en) | Coordination and text value generation method | |
CA2126006A1 (en) | Reducing redundant symbolic debug information in computer systems | |
JPH0683594A (en) | Graphical user interface, wherein withy-wig type edditer and compiler are integrated | |
JP2827724B2 (en) | Program debug processing method | |
JPH1124911A (en) | Method for automatically generating source program | |
JP2976323B2 (en) | Command creation method in graphics editing device | |
JPS62145424A (en) | Program managing method | |
JPH0371229A (en) | Program controller | |
JP2002358102A (en) | Programming device for programmable logic controller | |
JP2607976B2 (en) | Debug method | |
JP2590083B2 (en) | Source program translation processing method | |
JPH03123939A (en) | Computer system where multiple languages coexist | |
JPS61131124A (en) | Conversation input processing system | |
JPH06168011A (en) | Program generating device | |
JPH0390931A (en) | Generation of rom transformation program | |
JPS63269229A (en) | Compiling system for character string operation system instruction | |
JPH0744369A (en) | Support tool | |
JPH06309159A (en) | Program automatic generator | |
Sprunger | WordPerfect 5.0 Macro Capabilities and an Accessions List Macro | |
JPS62200426A (en) | Macro expansion method for high level language | |
JPH04324528A (en) | Program editing device and compiling device | |
JPH117399A (en) | Data display system in object-oriented program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20080704 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |