Anonymous user
Terminal control/Cursor positioning: Difference between revisions
Terminal control/Cursor positioning (view source)
Revision as of 22:24, 16 November 2016
, 7 years ago+Fortran on Windows
(Added Icon/Unicon) |
m (+Fortran on Windows) |
||
Line 110:
=={{header|Forth}}==
<lang forth>2 5 at-xy ." Hello"</lang>
=={{header|Fortran}}==
===Intel Fortran on Windows===
<lang fortran>program textposition
use kernel32
implicit none
integer(HANDLE) :: hConsole
integer(BOOL) :: q
hConsole = GetStdHandle(STD_OUTPUT_HANDLE)
q = SetConsoleCursorPosition(hConsole, T_COORD(3, 6))
q = WriteConsole(hConsole, loc("Hello"), 5, NULL, NULL)
end program</lang>
=={{header|Go}}==
|