Control flow conversion in course of heritage code into modern language
A technology for controlling flow and code, applied in the field of valence transformation, it can solve problems such as unfamiliarity with traditional languages, unexpected termination of program execution, and destruction of program structure, so as to maintain program readability and control code expansion.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and the following embodiments.
[0033] When it is necessary to translate legacy code (COBOL program) into modern language Java, it is necessary to eliminate the PERFORM and GOTO statements that exist in COBOL language but cannot be expressed in Java language, so as to realize code translation smoothly.
[0034] The present invention emulates PERFORM and GOTO statements in COBOL by using the control flow statements Switch and while statements existing in Java.
[0035] The function of the GOTO statement in COBOL is the same as the GOTO statement in C language, that is, to transfer control to another location in the process.
[0036] The PERFORM statement is a statement with two functions. On the one hand, it is equivalent to a loop statement, which executes the loop object under certain loop conditions. On the other hand, it has the function o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com