// list of numbers from 1 to 10
numbers = 1:10
// variable to sum numbers
sum = 0
// loop variable
i = 1
// while the variable i is less or equal to the size of numbers
while i <= $numbers
// add the value of numbers at index i to sum and increment i by 1
sum += numbers(i++)
end
// output the value of sum
sum