Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
numeric_literals [2019/05/14 22:59] – [Numeral systems] neils | numeric_literals [2019/06/27 07:36] – neils | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Data types ===== | ===== Data types ===== | ||
- | Currently three types are supported: byte, integer and float. The compiler will follow these rules when parsing numbers: | + | Currently three numeric |
* An integer between 0 and 255 will be treated as a //byte// | * An integer between 0 and 255 will be treated as a //byte// | ||
Line 33: | Line 33: | ||
let hexa = $d020 | let hexa = $d020 | ||
let binary | let binary | ||
+ | | ||
+ | ~~DISCUSSION~~ |