Mgen haiyunguo project early preview version 4 released-console partially completed

Source: Internet
Author: User

For software updates and introductions, see:

Mgen haiyunguo project updates and introduction

 

After the early preview version 4, the console of the haiyunguo project was almost completed. The subsequent work is to continue to improve the editor. With the editor, you do not need to write scripts. After the haiyunguo project, there should be no "early preview version", because after the editor is complete, all the parts of the software will appear and will gradually enter the testing and release phase.

The new console interface of the early-stage preview version 4 of the haiyunguo project:

 

Improved execution interface:

 

The following are the update details of the early preview version 4:

Add
> Script files can be pre-compiled.
> Added the setslot function.

Improvement:
> Fully optimized the interface.
> Improve the display of the file system object list.
> Optimizes the performance of script execution.
> The enumerated values are defined using strings.
> Some file and folder operations are verified.
> Use the updated mgen fx17 engineering 3.2.

Repair
> Load_slot verification type error after calling.
> Verify that the action cannot be executed due to an error in the current data type.
> An error occurred while splicing the file path.
> The file size cannot be read.

Delete
> Delete the first parameter specified by the show function to display only the file name. (This operation can be completed in the new interface control)

 

In addition to the interface, there are also some things to emphasize. For example, the pre-compilation function. This can be found in the menu and toolbar:

After the pre-compilation is successful, the project will generate a file with the same name extension htge Based on the path of the original file. Directly open this file without the parser parsing function to run faster. At the same time, if the document is not changed, the result of the previous compilation is also directly used in the haiyunguo project console.

 

Another change is "using strings to define enumeration value Parameters". This change affects all scripts that use enumeration parameter functions, especially the most common setdata functions. The reason for this is to consider parsing the flags enumeration (for example, File Attribute enumeration ). Therefore, many of the previous Scripts may not run, because the previous enumeration definition should not be string. If you run some of the first 1-3 Pre-views of the haiyunguo ProjectCodeFor example:

Ver 1;

Setdata drive ['C: \ '];

Show;

In the early preview version 4, the following message is displayed:

Function setdata verification error: parameter 1: variable name type cannot be converted to Enumeration type.

 

Therefore, you must include the enumerated values in the string:

Ver 1;

Setdata 'Drive '['C: \'];

Show;

Then it runs successfully:

 

Early versions 4 also added a function called setslot, which is very simple. It is equivalent to the common setdata and save_slot function combinations (because setslot function parameters are more like setdata, so setslot is not defined as set_slot as load_slot and save_slot ).

Code of earlier versions 2 and 3 (slot function is added to earlier versions 2 ):

Setdata dir ['C: \ '];

Save_slot 'myslot ';

In the early preview version 4, you can directly write as follows:

Setslot 'myslot' 'dir' ['C: \ '];

 

In addition, the first parameter specified by the show function to display only the file name is deleted. Therefore, the UI of the early preview version 4 can complete this task:

For example, all files in the root directory of drive C and drive E are displayed:

Ver 1;

Setdata 'dir' ['C: \ 'E: \'];

D_rf;

Show;

Running result:

 

Use the "show only name" button in the toolbar to display only the file name:

 

In addition, the height of the Data list is fixed and can only be reduced or displayed. You can select the "browse in Form" function. After the function is executed, the data list is displayed in a separate window:

 

Current versionProgramDownload
Download Page
Note: the link is the Microsoft SkyDrive page. When downloading, use a browser to download it directly. Some download tools may not be available for downloading.
Program environment:. NET Framework 3.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.