Skip to content

Commit b28eb98

Browse files
authored
Update 678-language-const.markdown
1 parent 75c7154 commit b28eb98

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

_build/reference/678-language-const.markdown

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
> CONST name = expr
44
5-
Declare a variable who's value does not change during program execution.
5+
Declare a variable `name` who's value does not change during program execution. `name` follows the rules for naming SmallBASIC variables. `expr` is an expression consisting of literals, with or without operators, only.
66

7-
8-
* name - An identifier that follows the rules for naming BASIC variables.
9-
* expr - An expression consisting of literals, with or without operators, only.
7+
### Example
108

119
```
1210
CONST G = 6.67259E-11
13-
CONST PI = 3.1415
11+
CONST PISQUARE = PI^2
1412
```

0 commit comments

Comments
 (0)