Expression
To print an expression, use the following format:
code
Example:
Example
Data Types
Thida Lang supports the following data types:
စာသား: asd
ကိန်းပြည့်: 5
ဒဿမ: 3.12
Boolean: ဖြစ်သည် ၊ မဖြစ်ပါ။
Variables
To assign variables, use the following syntax:
Variable
Example:
Operators
Thida Lang supports basic arithmetic and comparison operators:
Addition:
Subtraction:
Multiplication:
Division:
Comparison operators:
Greater than:
Less than:
Equal to:
Control Flow
If Else
To use conditional statements:
Example:
For Loop
To use a for loop:
Example:
While Loop
To use a while loop:
Example:
Function
To define a function:
Example:
Function definition and usage can be elaborated based on your specific needs and implementation.
Last updated