-
Notifications
You must be signed in to change notification settings - Fork 3
Value Types
TheRealMichaelWang edited this page Mar 26, 2021
·
4 revisions
Since FastCode aims to automate as much value-typing as possible, it maintains a minimal number of data types.
- Numbers - Any numerical value is represented as a standard IEEE float.
- Characters - Characters are represented as unsigned, byte-sized values.
- Structures - Each structure has a list of properties which be accessed and used like variables.
- Arrays - For speed improvements, Arrays are NOT implemented as a linked list. That being said, array concatenation is MUCH slower.
FastCode is dynamically type checked, so you don't have to worry about specifying any types beforehand.