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!

Understanding the code:

  • # starts a comment
  • dekha means "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) or dhara 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 = value

Variable

dekha "message"

Print

jadi ... tahale ... sesa

If

jebe ... sesa

While

aarambha i = 1 ru 10 ... sesa

For

karya name(params) ... sesa

Function

fera value

Return

sata / micha

True / False

ruha

Break

chala

Continue

[1, 2, 3]

Array literal

arr[0], arr.length

Index / Property