O Language: Exception Management

Exception management is an array that allows you to check whether an error has occurred depending on an object. The content is checked to see if there is an error, or to the end if no error has occurred.

Begin is used to control an object.

begin object{
   ......
}

“Expect” and “recover” are used to debug and print out errors. Automatic “error” identification is done. In this way, we can use this definition as an internal variable.

begin object{
   if (test == "hello"){
     except test "Hello is not usefull. Please use Hi on project."
   }

   recover test{
      println(error)
   }
}

If no errors are received, “final” is used. If there is no error in this way, the values in “final” are automatically executed.

def test = "hello"
begin object{
   if (test == "hello"){
     except test "Hello is not usefull. Please use Hi on project."
   }

   recover object{
     println(error)
   }

   final object{
      println("Hello is not used. Yay!")
   }
}

This is how we debug it. Exception detection can be used in this way.

Web site: http://olang.space/

Source: http://olang.space/begin

O Language: Snap Store Version Released

It has been compiled in all distributions with SnapStore support or “o language” specifically for platforms that support the snap run environment. You can use the snap command to unpack the desired packages via the SnapStore, where you can easily install and install packages. And without depending on platforms and package managers.

Now I will talk a little bit about how to set up a package with snap. First, to take the package over the SnapStore;

sudo snap install "package name"

The package is set up directly. O Language is officially offered as a stable version of the store. For the installation;

sudo snap install olang

You can effortlessly install your system. You can check snap store for package details.

Pink Floyd – Mother

I share with you knowing that this piece carries traces of life. Every piece of Pink Floyd’s traces of reality has a distinctive presumption in my opinion. Now I leave you alone with this piece. I wish you always question before you do anything.

“Mother”

Mother, do you think they’ll drop the bomb?
Mother, do you think they’ll like this song?
Mother, do you think they’ll try to break my balls?
Ooh, aah, mother, should I build the wall?

Mother, should I run for president?
Mother, should I trust the government?
Mother, will they put me in the firing line?
Ooh, aah, is it just a waste of time?

Hush now, baby, baby, don’t you cry
Mama’s gonna make all of your nightmares come true
Mama’s gonna put all of her fears into you
Mama’s gonna keep you right here under her wing
She won’t let you fly but she might let you sing
Mama’s gonna keep baby cozy and warm

Ooh, babe, ooh, babe, ooh, babe
Of course mama’s gonna help build the wall

Mother, do you think she’s good enough for me?
Mother, do you think she’s dangerous to me?
Mother, will she tear your little boy apart?
Ooh, aah, mother, will she break my heart?

Hush now, baby, baby, don’t you cry
Mama’s gonna check out all your girlfriends for you
Mama won’t let anyone dirty get through
Mama’s gonna wait up ’til you get in
Mama will always find out where you’ve been
Mamma’s gonna keep baby healthy and clean

Ooh, babe, ooh, babe, ooh, babe
You’ll always be a baby to me

Mother, did it need to be so high?

O Language: Build 4.1

A new version has been released for that language. A number of critical updates and fixes have been made in this release. Fixed unknown IDENTIFIER and similar critical problems in function definitions. In addition, the replace function has been added.

This function can be used to change strings and change strings;

def test = "test"
def test = replace(test, "test", "olang")
inspect(test)
#=> olang

You can reach the details of the latest version via this link.

Web site: O Language

O Language: Database Management (and Object Relation Mapper)

O Language, you can write data directly into its own or SQL-based databases. With object-oriented data management, you can easily extract and manipulate your data. I will describe these database features in O Language in detail and with documentation using examples. This will tell you the features and how simple it is to make database management on O Language. This will save you extra time lost.

Continue reading “O Language: Database Management (and Object Relation Mapper)”