Skip to content

Commit 7b1ba9d

Browse files
authored
修改用词
将declare改为define
1 parent 454b3c1 commit 7b1ba9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/en/quickstart/02base/01variables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ lastUpdated: true
44

55
# Variable
66

7-
## Declaration of variables
7+
## Defination of variables
88

9-
Same as other languages, you can declare some variables in MCFPP for store, transfer and process data.
9+
Same as other languages, you can define some variables in MCFPP for store, transfer and process data.
1010

11-
The declaration of data is like this:
11+
The defination of data is like this:
1212

1313
```mcfpp
1414
#Type of data Identifier of data (optional: = expression or value )
1515
int i = 5;
1616
int b = i * 6;
1717
```
1818

19-
The identifier of variable can be the combination of any characters and numbers. In one scope, a name of variable only can declared once.
19+
The identifier of variable can be the combination of any characters and numbers. In one scope, a name of variable only can defined once.
2020

2121
## Type of variable
2222

0 commit comments

Comments
 (0)