What is the use of the Easy Language module and how to use the Easy Language EC module?

Updated on technology 2024-05-16
13 answers
  1. Anonymous users2024-02-10

    At present, the implementation of large-scale software projects is generally divided into collaborative development, that is, divided into modules for development, and Yi Language provides modular development support. The modules in the Easy Language are called Easy Modules. By using easy modules, users can encapsulate commonly used modules for reuse in other programs, or provide them to third parties, or use them as part of a large software project, and then organize and compile all these modules into a complete program during the packaging phase of the software project.

    1 Comparison of the use of easy modules and API functions.

    In Easy Language, the API function is an interface function compiled and encapsulated by the external language, and the Easy module is a special external interface function file compiled by the Easy Language. The use of the easy module is to directly insert the module program into the easy program, and then call its interface command, and the use of the api function is to put the dll file in the relevant directory first, and then establish the dll command to call; Easy modules are written in Chinese, while API functions are written in English. As long as you are familiar with Yi Language, you can write Yi modules in Chinese, so Yi Language is more suitable for Chinese learning and development.

    2 Features of Easy Module.

    Easy module is a special easy program, which has the following characteristics compared with ordinary easy programs:

    1) Must have a program name (set via the "Program" "Configuration" menu), this name represents the module name;

    2) must have a subroutine named "Startup Subroutine", which is responsible for the initialization of the Easy Module;

    3) It must have an external interface that exposes this easy module.

    Only programs with the above three points can be called easy modules.

  2. Anonymous users2024-02-09

    It's like a dll file for your system.

    It's all about encapsulating a lot of commands, subroutines, windows, and so on, for ease of use.

  3. Anonymous users2024-02-08

    There are some more features, for example, if, if it is true, there are many others, the ** module will become a look.

  4. Anonymous users2024-02-07

    ce module call method:

    1. Open the Easy Language software;

    2. Find the program tab on the left and click on the "1" position;

    3. Find the diagram marked with "2" position Right-click and add a reference module;

    4. After the module is added, double-click the module to see the function and usage of the module.

  5. Anonymous users2024-02-06

    In the upper left column of the easy language programming interface, there is a "module reference table" at the bottom, double-click it, and a selection box will pop up to select the module you want to reference. ec, click OK, you can add a module, and then double-click the added module, and the module information will pop up, which will write all the functions that can be referenced in this module.

  6. Anonymous users2024-02-05

    Double-click on the module reference table in the program

  7. Anonymous users2024-02-04

    After creating the program, double-click on the module reference table in the left sidebar and select an easy module (*.) from the dialog boxec) click Open.

  8. Anonymous users2024-02-03

    The definition of easy module in Yi language is a subroutine written externally, and the defined data types and constants can be called directly in the program, but the data type requirements given by the module must be complied with when calling.

    Here's how to write it.

    Open Easy Language.

    Click to create a new "Windows Easy Language Module" (as shown below).

    After the creation is complete, you will be directed to the page shown below.

    Enter your subroutine name and define the subroutine.

    Enter parameters and define subroutines.

    Write the ** you want to write.

    The following ** will explain to you the role of subprogram parameters (just for explanation).

    Here's what's next.

    Version 2 Assembly Assembly 1

    Subroutine Startup Subprogram, Integer, Please place the Easy Module Initialization in this subprogram**.

    Temporary subroutine(s).'The test is called after the initialization has been executed.

    Return (0).'You can return any value you want.

    Subroutines Temporary subroutines.

    This name subroutine is used as a test program, only valid in the development and debugging environment, and will be automatically cleared by the system before compiling and releasing the program, please put all the temporary ** used as a test in this subprogram. *Be careful not to modify the name, parameters, and return value type of this subprogram.

    Subroutines calculate the size of the value, logical, public, calculates the size of two values, if the first value is greater than the second value returns true, otherwise returns false.

    Parameter First value, Integer, Reference, Enter the first value, requires an integer type.

    Parameter 2nd value, integer type, Reference, Enter the second value, which requires an integer type.

    If (first value, second value).

    Return (true).

    Otherwise, it returns (false).

    **Save after writing.

  9. Anonymous users2024-02-02

    Modules are SDKs that can be understood as easy language encapsulation

    Command encapsulation Simple calls.

    Easy Language provides an IDE for module writing

    You can create a new easy-language module.

  10. Anonymous users2024-02-01

    Easy module is a kind of module called by easy language (.).el)

    You can reference a module using a module reference.

    After writing **, click "Compile - Compile to Specified Type - Windows Easy Language Module" to compile the easy module.

  11. Anonymous users2024-01-31

    Easy module is to encapsulate some ** in a module, which is convenient to call. Open Easy Language - New - Easy Module and you can write it.

  12. Anonymous users2024-01-30

    Easy language module is an SDK plug-in that has been written, and the module writing function that can be called directly can be found in the program in Easy Language, the specific steps are as follows1First, let's open the e-language.

    2.Select "Program", "New", "Windows Easy Language Module", "OK", or double-click "Windows Easy Language Module" to enter the module authoring interface.

    Writing modules is just like the usual ** of Yi Language! Just a little different in place!

  13. Anonymous users2024-01-29

    Open Easy Language, select "Program", "New", "Windows Easy Language Module", "OK", or double-click "Windows Easy Language Module" to enter the module writing interface.

    Entering the module writing interface, it is really unique. First of all, it is necessary to talk about the initialization of the easy language**,Look at the comment part to understand,This paragraph**is used for testing programs,If you really don't understand,Just ignore it!

    To start the "live exercise", you can create a new subprogram by right-clicking the mouse button to pop up the menu and select "New Subprogram" or press the Ctrl+N key to create a new subprogram, today we will create a new subprogram named "test", here it is necessary to say the relevant precautions: (1) The name of the subprogram should be unique (2) According to the needs of the subprogram, set the data type of the return value, if there is no return value, you can leave it blank. (3) Set the public attributes of the subprogram, the module is convenient for other programs to call, so the disclosure should be checked.

    4) In order to facilitate the development and writing of the program, it is a good habit to make notes. Remind yourself and others what the function of this subroutine is. Next, it's time to write, let's take the infobox as an example!

    After writing**Remember to publicly type " " and add notes.

    **After the preparation, it is time to test the results, and the testing phase is indispensable. Write the "test" subroutine under "Startup Subprogram", **as shown in the figure below, and then press the F5 key to witness the "miracle"!

    **The test was successful, drink some coffee to suppress the shock. All that's left is to configure the module information, and you're just one step away from success. Select "Program" > "Configuration" to enter the configuration module dialog box, and the relevant settings are shown in the following figure.

    Remember, all fields with "*" in the configuration module dialog box must be filled in. Once you have filled it out, click the "OK" button.

    Once the module information is configured, let's start packaging the module. Everything is ready, only the compilation is missing. Click "Compilation" and "Compile" in the menu bar to enter the module compilation dialog box, fill in the module name, and click "Save".

    Remember to save the source code of the easy language module, otherwise it will be difficult to expand the module in the future.

    When writing easy-language programs, the naming should be standardized, otherwise the amount of engineering will be large, and the thinking will be chaotic.

Related questions
8 answers2024-05-16

Pay attention to the hint - Application Interface Support Library - > System Processing is the command that comes with the easy language itself, if you don't have this command, you can see if there are many support libraries in the above tool support library configuration to see if there are many support libraries that are not checked, if not, select him to the above point OK. >>>More

2 answers2024-05-16

Yi Language is a self-developed Chinese programming language that is suitable for national conditions and is easy to learn and use for people of different levels and professions. Easy Language lowers the threshold for the majority of computer users to program, especially users who do not know English at all or have little understanding of English, can enter the door of Windows programming extremely quickly by using this language. Yi Language Chinese Programming Environment is a programming tool environment that supports programming based on Chinese characters and words, fully visualized, and cross-mainstream operating system platforms. Available in simplified and traditional Chinese, English, Japanese and other languages; Able to call to and from commonly used programming languages; It has interfaces and supporting tools that make full use of various resources such as API, COM, DLL, OCX components, various mainstream databases, and various utilities. >>>More

13 answers2024-05-16

Requires a component, tab 1 a! Copy:Version 2

Support library shellexSupport library eapiAssemblies Window Assembly 1 >>>More

19 answers2024-05-16

Please first ** "vc6 mini linker" and copy the "vc98linker" folder to the root directory of easy language. Then find the file "Easy Language and the directory vc98linker and open it, run it and click Modify, you can use static compilation.

15 answers2024-05-16

You can take advantage of the tag properties of the tag component. It's easy to implement your features, you can try it out, and if you have any questions, you can send a private message.