Skip to content

Commit dfc5ccd

Browse files
committed
improvements
1 parent 4cc21a5 commit dfc5ccd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/posts/jai-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ ShowBreadCrumbs: true
1212

1313
This is a table that hold a comparison of all fundamental types you should know about compared to what they are in other languages:
1414

15-
1615
| Type: | Jai | C# | C++ (classic) | C++ (modern) |
1716
|----------------------------|-----------------|-----------------|---------------------------|------------------|
1817
| 32 bit floating | `float32` | ``float`` | ``float`` | - |
@@ -33,6 +32,8 @@ This is a table that hold a comparison of all fundamental types you should know
3332

3433
Jai strings are array views over `u8` and are not null-terminated.
3534

35+
Additionally, there are `int` which defaults to `s64` and `float` which defaults to `float32`
36+
3637
## Loops
3738

3839
**Simple for loops:**
@@ -67,7 +68,6 @@ for * ele: array { // To iterate an array by pointer, add a * in front of the fo
6768
ele.* = 0; // Because you are taking a pointer to the array, you can modify the array elements.
6869
}
6970
70-
7171
for 1..10 print("Number %\n", it); // single like loops are also allowed
7272
```
7373

0 commit comments

Comments
 (0)