Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версия Следующая версия Следующая версия справа и слева | ||
ob:visual:out:ru [2022/10/02 20:35] iadenisov создано |
ob:visual:out:ru [2022/10/03 21:20] iadenisov |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
+ | ====== Модуль Out ====== | ||
+ | |||
+ | |||
Модуль для совместимости с учебными примерами. | Модуль для совместимости с учебными примерами. | ||
- | PROCEDURE Char (ch: CHAR) | + | PROCEDURE |
Writes a character into the log. | Writes a character into the log. | ||
- | PROCEDURE Ln | + | PROCEDURE |
Writes a carriage return into the log. | Writes a carriage return into the log. | ||
- | PROCEDURE Int (i, n: INTEGER) | + | PROCEDURE |
- | Writes an integer number into the log, with n digits. | + | |
+ | Writes an integer number into the log, with n digits.\\ | ||
If n is too small (e.g., 0) to represent the number correctly, | If n is too small (e.g., 0) to represent the number correctly, | ||
the necessary minimal number of digits is used. | the necessary minimal number of digits is used. | ||
- | PROCEDURE Real (x: REAL; n: INTEGER) | + | PROCEDURE |
- | Writes a real number into the log, with n digits. | + | |
+ | Writes a real number into the log, with n digits.\\ | ||
If n is too small (e.g., 0) to represent the number correctly, | If n is too small (e.g., 0) to represent the number correctly, | ||
the necessary minimal number of digits is used. | the necessary minimal number of digits is used. | ||
- | PROCEDURE String (str: ARRAY OF CHAR) | + | PROCEDURE |
Writes a string into the log. | Writes a string into the log. |