Skip to content

Commit b5fba66

Browse files
committed
arithmetic
1 parent 94c235a commit b5fba66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: README.md

+7
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ function isKeyDown(key) => {
145145

146146
**Technical info:** Booleans are stored as one-and-a-half bits.
147147

148+
## Arithmetic
149+
DreamBerd has significant whitespace. Use spacing to specify the order of arithmetic operations.
150+
```js
151+
print(1 + 2*3)! //7
152+
print(1+2 * 3)! //9
153+
```
154+
148155
## Indents
149156
When it comes to indentation, DreamBerd strikes a happy medium that can be enjoyed by everyone: All indents must be 3 spaces long.
150157
```js

0 commit comments

Comments
 (0)