To get started, make sure you have installed Lagmite on your machine. Now, before using Lagmite for the first time, you will need to know two fundamental concepts on Lagmite’s processing and how it works:

  1. Cards are Lagmite’s ways of storing types of data, what to do with the data, and other additional information. There are many types of cards in Lagmite, such as type cards and task cards. As an example, the [text] type card stores text, and the {lwr} task card allows text to be displayed in lowercase letters.
  2. Functions in Lagmite for most of the time require type cards, in order to note what type of data is being processed.

Hello World

When working with programming languages, it is usually best to learn how to display “Hello World” in the terminal. To do so, use the disp function, followed by the [text] type card, and type “Hello World”.

disp [text] Hello World

//Expected output: Hello World

“Hello World” might not be attractive, so let’s display it in alternating case!

disp [text] Hello World {alt}

//Expected output: hElLo wOrLd