Skip to content

Commit 9543a9e

Browse files
committed
upd: lazily commit on June 2nd, 2026 4:46 PM UTC -0700 by lily
1 parent 09c5e99 commit 9543a9e

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

docs/loops.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,11 @@ Unlike entry-controlled for loops, exit-controlled loops are styled similarly to
5858
repeat {
5959
...
6060
} until <Condition>;
61-
```
61+
```
62+
63+
## Loop Specific Keywords
64+
65+
Inside loops, sometimes you cannot programmatically write what you want without exiting early or skipping to the next iteration.
66+
67+
- To *stop* a loop early, you can use the `break` keyword, which will stop the loop early, disregarding any future code after it.
68+
- To *skip* to the next iteration without actually stopping it, you can use the `pass` keyword, which, similarly to `break`, disregards any future code, but keeps the loop itself running for all future iterations.

docs/types.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ There are various kinds of built-in types in ADAN, which consist of:
1313
- Integer
1414
- Float
1515

16+
### Array Types
17+
18+
To create an array in ADAN you can use the basic syntax: `<Type>[]`. This creates a simple 1-dimensional array.
19+
20+
This process can be stacked to create higher dimensions of arrays, such as `<Type>[][]`, or `<Type>[][][]`, and so on.
21+
1622
### Other Types
1723

1824
- Bool

0 commit comments

Comments
 (0)