SoFunction
Updated on 2025-04-12

The first program for getting started with Easy Language Programming

I first came into contact with Yi Language three years ago. At that time, I learned about Yi Language, because of the DNF game, and I was very impressed by it at that time. However, at that time, Yi Language had fewer resources to learn, and his studies were heavy, so I didn’t know it carefully.

When I returned to DNF in the past few days, I suddenly thought of Yi Language, so I decided to take some free time to learn and set a small goal first: to be an auxiliary tool for DNF! (Maybe it can't be completed in the end)

This is what I learned on the first day

Advantages of Easy Language:

1. The code is Chinese, lowering the threshold for learning

2. Full visual programming, just-input and draw reduce the possibility of code errors

3. The code itself is equivalent to the documentation description

4. Automatic grammar format check

5. The error message is in Chinese, which greatly enhances the possibility of solving errors.

The zero program information box

.Version 2
.Assembly 窗口Assembly_Start the window
.Subprogram __Start the window_Created 
Information box (“Information box内容”, 0, “Information box标题”, )
'This is the shield button
 ' Information box (“Information box内容”, 1, “Information box标题”, )
Information box (“Information box内容”, 2, “Information box标题”, )
Information box (“Information box内容”, 3, “Information box标题”, )
Information box (“Information box内容”, 4, “Information box标题”, )
Information box (“Information box内容”, 5, “Information box标题”, )
Information box (“Information box内容”, 6, “Information box标题”, )
' Here is the comment

Hello, Motherland, the first program

.Version 2 
.Assembly 窗口Assembly_Start the window 
.Subprogram _Label1_Feedback Events, Integer type
.parameter parameter一, Integer type
.parameter parameter二, Integer type 
.Subprogram _Button1_Being clicked 
Label1.title = “Hello, Motherland!”
 

The second program player one

.Version 2 
.Assembly 窗口Assembly_Start the window 
.Subprogram _Button_Play_Being clicked 
' The music you play needs to be in the same folder as the program file
 ' PlayMP3 (1, “Blue Wellエイル - meteor.mp3”)
'What should I do if I try not in the same folder?
 ' Add a full path
PlayMP3 (1, “F:\CloudMusic\Acecombination - No songs in Chu.mp3”)
'Trying successfully!  mp3 playback across folders can also be achieved by adding full path
 ' 尝试不通过修改源代码就能够Play其它的音乐?
' Haven't tried it yet。。。。

The above is the detailed content of the first program for the introduction to Easy Language Programming. For more information about Easy Language Programming, please pay attention to my other related articles!