Basic Examples

Start with these fundamental examples to understand the language basics.

Basic Addition
Simple variable assignment and mathematical operations
Beginner
x is equal to 10
y is equal to 20

z is equal to x plus y
print z

if z is greater than 25 then
print "z is quite large!"
endif
Simple Calculator
Demonstrates all four basic mathematical operations
Beginner
a is equal to 10
b is equal to 5

sum is equal to a plus b
print "Sum: " + sum

difference is equal to a minus b
print "Difference: " + difference

product is equal to a times b
print "Product: " + product

quotient is equal to a divided by b
print "Quotient: " + quotient
Variable Types
Working with different types of values
Beginner
name is equal to "Alice"
age is equal to 25
height is equal to 5.6
is_student is equal to true

print "Name: " + name
print "Age: " + age
print "Height: " + height
print "Is student: " + is_student
Key Concepts Covered
These examples demonstrate the following fundamental concepts:

Variable Assignment

Learn how to store values in variables using natural language syntax.

Mathematical Operations

Perform addition, subtraction, multiplication, and division.

Print Statements

Display output using simple print commands.

Data Types

Work with numbers, strings, and boolean values.