Tutorial
Learn Odialang from scratch - A complete guide for beginners
Getting Started
What is Programming?
Programming is like giving instructions to a computer. Just like you might tell someone how to make tea step-by-step, you write instructions for the computer to follow.
Why Odialang?
Odialang uses Odia words you already know, making programming feel familiar and natural.
Your First Program
Hello World
Create a file named hello.odia:
Run it:
Output:
Hello, World!
Namaskar, Odia!
Namaskar, Odia!
Understanding the code:
#starts a commentdekhameans "show" or "print"- Text in quotes
"..."is a string
Variables & Data Types
Creating Variables
Use dhara to create a variable:
Data Types
- Strings:
dhara message = "Hello!" - Numbers:
dhara year = 2026 - Booleans:
dhara isSunny = sata(true) ordhara isRaining = micha(false)
Changing Values
Operators
Arithmetic Operators
Comparison Operators
String Concatenation
Making Decisions
If Statement
If-Else Statement
Multiple Conditions
Loops
While Loop
Output: Count: 1, 2, 3, 4, 5
For Loop
Output: Number: 1, 2, 3, 4, 5
Functions
Creating a Function
Function with Parameters
Function with Return
Arrays
Creating Arrays
Accessing Elements
Modifying Elements
Looping Through Arrays
Break & Continue
Break (ruha)
Exit a loop early:
Continue (chala)
Skip to the next iteration:
Quick Reference
dhara name = valueVariable
dekha "message"jadi ... tahale ... sesaIf
jebe ... sesaWhile
aarambha i = 1 ru 10 ... sesaFor
karya name(params) ... sesaFunction
fera valueReturn
sata / michaTrue / False
ruhaBreak
chalaContinue
[1, 2, 3]Array literal
arr[0], arr.lengthIndex / Property