From Clomosy Docs

Revision as of 14:47, 7 October 2024 by ClomosyManager (talk | contribs) (Created page with "<div class="alert alert-ligth border border-3 border-primary-subtle rounded-5 p-4 shadow-sm" role="alert"> procedure Console.Text(const AMessage: string); </div> Console applications are 32-bit programs that run in a console window without a graphical interface. These applications generally do not require much user input and perform a limited number of functions. <div class="alert alert-danger" role="alert" data-bs-theme="light"> <b>NOTE:</b> It is useful for the Windo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Console applications are 32-bit programs that run in a console window without a graphical interface. These applications generally do not require much user input and perform a limited number of functions.

Example
TRObject Syntax

Var
 i : Integer;

{
 for (i=0 to 5)
  console.text('Counter: '+IntToStr(i));

  console.text('Time:'+DateTimeToStr(Now));
}

Base Syntax

Var
 i : Integer;

begin
 for i:=0 to 5 do
   console.text('Counter: '+IntToStr(i));
  
   console.text('Time:'+DateTimeToStr(Now));
end;

Output:
ConsoleExampleV1.1.png

See Also