Code management method and device
A code management and definition technology, applied in the field of code management methods and devices, to achieve the effect of ensuring safe calling
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 It is a flow chart of a code management method provided by Embodiment 1 of the present invention. The method of this embodiment can be executed by a code management device, which can be realized by means of hardware and / or software, and generally, the method of this embodiment can be realized by cooperation of a server and a terminal.
[0022] The method of this embodiment specifically includes:
[0023] S110. Obtain the first macro definition value to be compiled in the macro definition call request.
[0024] In code management, the use of macro definitions can improve the versatility and legibility of programs, reduce inconsistencies, and reduce input errors. Especially when the program contains parameters, the application of macro definition makes program debugging more convenient. The macro definition calling request usually includes the first macro definition value required by the user or required for calling the macro definition. Exemplarily, the firs...
Embodiment 2
[0034] figure 2 The flow chart of the code management method provided by Embodiment 2 of the present invention, such as figure 2 As shown, in this embodiment, on the basis of the above-mentioned embodiments, optionally, the determining the change state of the test mark parameter of the macro definition may include: determining the macro definition according to the storage path of the macro definition Tests the changing state of the marker parameter.
[0035] On the basis of the above technical solution, further, responding to the macro definition call request according to the determination result may specifically include: outputting prompt information if the test flag parameter of the macro definition has not changed.
[0036] The method of this embodiment specifically includes:
[0037]S210. Obtain the first macro definition value to be compiled in the macro definition calling request.
[0038] S220. When it is detected based on the detection script that the first macro ...
Embodiment 3
[0052] image 3 Shown is a schematic structural diagram of a code management device provided by Embodiment 3 of the present invention. The device can be realized by means of hardware and / or software, and generally, the method of this embodiment can be realized by cooperation of a terminal and a server. Such as image 3 As shown, the code management device specifically includes: an acquisition module 310 , a change status determination module 320 and a response module 330 .
[0053] Wherein, the obtaining module 310 is used to obtain the first macro definition value to be compiled in the macro definition call request; the change state determination module 320 is used to detect that the first macro definition value is different from the prestored macro definition based on the detection script. When the value of the second macro definition is inconsistent, determine the change state of the test flag parameter of the macro definition; the response module 330 is configured to resp...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com