Data Types
The Betty programming language provides a range of data types, each serving a unique purpose.
-
Represents both integers and floating-point values, supporting arithmetic and implicit conversions.
-
A sequence of characters with intrinsic functions for manipulation and formatting.
-
A single character, internally stored as an ASCII value, allowing seamless numeric operations.
-
Represents truth values (
true
orfalse
) and is used in logical operations and control flow. -
A dynamic, ordered collection of values that can hold mixed data types and be manipulated efficiently.
-
A special type representing the absence of a value, often used for implicit returns.