Skip to main content

Printing

Learn about how to display values on the screen.

Visualizing the computations is a part of programming, and in ABJAD, it's done through calling on the function أكتب to print the output on the screen. The concept of calling a function will be discussed later on, but in case of printing values, the syntax goes as the following:

  1. The keyword أكتب
  2. An opening parentheses (
  3. The value you want to print
  4. A closing parentheses )
  5. A semicolon ؛

examples:

أكتب(صحيح)؛
أكتب(3)؛
متغير مقطع ترحيب = "مرحبا"؛
أكتب(ترحيب)؛