Инструменты пользователя

Инструменты сайта


ob:visual:log:en

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
ob:visual:log:en [2022/10/02 20:39]
iadenisov
ob:visual:log:en [2023/11/08 22:58] (текущий)
iadenisov
Строка 1: Строка 1:
-====== Log module ======+Documentation for [[https://visual.sfu-kras.ru|VISUAL / ONLINE OBERON]]
  
 +====== Log module ======
  
 Print text information. Print text information.
  
-**PROCEDURE Clear;**+PROCEDURE **Clear**
  
 Remove all text from the log. Remove all text from the log.
  
-**PROCEDURE String(arg: ARRAY OF CHAR);**+PROCEDURE **String** (arg: ARRAY OF CHAR)
  
 Output string. Output string.
  
-**PROCEDURE Ln;**+PROCEDURE **Ln**
  
 New line. New line.
  
-**PROCEDURE Char(arg: CHAR);**+PROCEDURE **Char** (arg: CHAR)
  
 Writes a character value to the log.  Writes a character value to the log. 
  
-**PROCEDURE Real(arg: REAL);**+PROCEDURE **Real** (arg: REAL)
  
 Writes a real value to the log. Writes a real value to the log.
  
-**PROCEDURE RealForm(arg: REAL; fixed: INTEGER);**+PROCEDURE **RealForm** (arg: REAL; fixed: INTEGER)
  
 Writes a real value to the log with fixed decimal places. Writes a real value to the log with fixed decimal places.
  
-**PROCEDURE Int(arg: INTEGER);**+PROCEDURE **Int** (arg: INTEGER)
  
 Writes an integer value to the log. Writes an integer value to the log.
  
-**PROCEDURE Set(arg: SET);**+PROCEDURE **Set** (arg: SET)
  
 Writes a set value to the log. Writes a set value to the log.
  
-**PROCEDURE Bool(arg: BOOLEAN);**+PROCEDURE **Bool** (arg: BOOLEAN) 
 + 
 +Writes TRUE or FALSE boolean value to the log. 
 + 
 +===== Example ===== 
 + 
 +<code> 
 +MODULE Init; 
 + 
 +IMPORT Log; 
 + 
 +PROCEDURE Do; 
 +BEGIN 
 + Log.Clear; 
 + Log.String("Hello World!"); Log.Ln 
 +END Do; 
 + 
 +BEGIN 
 + Do 
 +END Init. 
 +</code> 
 + 
 +[[https://visual.sfu-kras.ru/model/360|Open in online IDE →]]
  
-Writes a Boolean value to the log. TRUE or FALSE. 
ob/visual/log/en.1664732344.txt.gz · Последнее изменение: 2022/10/02 20:39 — iadenisov