Update Ground Types
@@ -8,10 +8,10 @@ Examples: `46`, `-17`
|
|||||||
- double: This stores the same values as a C double, i.e. 1 bit sign, 11 bit exponent, 52 bit mantissa.
|
- double: This stores the same values as a C double, i.e. 1 bit sign, 11 bit exponent, 52 bit mantissa.
|
||||||
|
|
||||||
Examples: `0.5`, `-6.25`
|
Examples: `0.5`, `-6.25`
|
||||||
- string: This stores an immutable sequence of characters, stored in memory as a `char*`. Notated with the string surrounded by the `"` symbol.
|
- string: This stores an immutable sequence of characters, stored in memory as a `char*`. Notated with the string enclosed by the `"` symbol.
|
||||||
|
|
||||||
Example: `"Hello, world!"`
|
Example: `"Hello, world!"`
|
||||||
- char: This stores a single character. Notated with the character surrounded by the `'` symbol.
|
- char: This stores a single character. Notated with the character enclosed by the `'` symbol.
|
||||||
|
|
||||||
Example: `'a'`, `' '` (space)
|
Example: `'a'`, `' '` (space)
|
||||||
- list: This stores an array of variables.
|
- list: This stores an array of variables.
|
||||||
|
|||||||
Reference in New Issue
Block a user