BS Data Types
Learn the core BornomalaScript data types, including strings, numbers, and booleans.
Data Types
Data types describe what kind of value a variable holds. In programming, that matters because text, numbers, and true/false values are used in different ways.
In BornomalaScript, the main beginner-friendly data types you should learn first are:
- Strings for text
- Numbers for arithmetic
- Booleans for true/false logic
Understanding these three types gives you the foundation for most beginner programs.
Why Data Types Matter
Data types help the compiler understand how to treat a value.
For example:
- Text needs quotes
- Numbers can be added, subtracted, multiplied, or divided
- Booleans are used in conditions and decisions
If you use the wrong type in the wrong place, your program may not behave the way you expect.
What You Will Learn Here
This section introduces the most important basic types in BornomalaScript:
How to Use This Section
Start with strings if you want to understand text output, then move to numbers for arithmetic, and finish with booleans to learn how conditions work.
That order is useful because each topic builds on the one before it.
Quick Preview
- Strings let you work with names, messages, and sentences
- Numbers let you calculate totals and compare values
- Booleans let you check whether something is true or false
Once you understand these, you are ready for conditions, loops, and functions.