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:
- The keyword
أكتب
- An opening parentheses
(
- The value you want to print
- A closing parentheses
)
- A semicolon
؛
examples:
أكتب(صحيح)؛
أكتب(3)؛
متغير مقطع ترحيب = "مرحبا"؛
أكتب(ترحيب)؛