batch fixing ](/microbit/ -> ](/ links
This commit is contained in:
@ -10,11 +10,11 @@ Set or change the value of a variable
|
||||
let item = 0
|
||||
````
|
||||
|
||||
Use the assignment operator to set or change the value of a [variable](/microbit/reference/variables/var).
|
||||
Use the assignment operator to set or change the value of a [variable](/reference/variables/var).
|
||||
|
||||
### Declare a variable
|
||||
|
||||
Declare a new *local* variable using the [variable](/microbit/reference/variables/var) statement and the assignment operator. Like this:
|
||||
Declare a new *local* variable using the [variable](/reference/variables/var) statement and the assignment operator. Like this:
|
||||
|
||||
````blocks
|
||||
let num1 = 42;
|
||||
@ -28,13 +28,13 @@ let num1 = 42
|
||||
````
|
||||
### Notes
|
||||
|
||||
* You can use the assignment operator with variables of each of the supported [types](/microbit/blocks/types).
|
||||
* You can use the assignment operator with variables of each of the supported [types](/blocks/types).
|
||||
|
||||
### Lessons
|
||||
|
||||
[rotation animation](/microbit/lessons/rotation-animation)
|
||||
[rotation animation](/lessons/rotation-animation)
|
||||
|
||||
### See also
|
||||
|
||||
[variable](/microbit/reference/variables/var), [types](/microbit/blocks/types)
|
||||
[variable](/reference/variables/var), [types](/blocks/types)
|
||||
|
||||
|
Reference in New Issue
Block a user