Anonymous user
Terminal control/Cursor positioning: Difference between revisions
Terminal control/Cursor positioning (view source)
Revision as of 14:52, 13 April 2012
, 12 years ago→{{header|Ada}}: Added Ada version
(added ocaml) |
(→{{header|Ada}}: Added Ada version) |
||
Line 3:
Move the cursor to column 3, row 6 and display the word "Hello", so that the letter H is in column 3 on row 6.
[[Terminal Control::task| ]]
=={{header|Ada}}==
<lang Ada>with Ada.Text_IO;
procedure Cursor_Pos is
begin
Ada.Text_IO.Set_Line(6);
Ada.Text_IO.Set_Col(3);
Ada.Text_IO.Put("Hello");
end Cursor_Pos;</lang>
=={{header|AutoHotkey}}==
{{works with|AutoHotkey_L}}
Line 21 ⟶ 33:
return 0
}</lang>
=={{header|BASIC}}==
|