Hello,
I've been doing programs in the Pascal and Qbasic and I've picked up doing alot of Fortran lately (been using it previously aswell). For output to the screen, I use the Print or Write commands normally. This is in a non-graphic enviroment, by the way. (Like DOS or Linux without X).
These methods generate a new line and pushes lines already written a line up.
If I wanted a certain string to be written a specific place on the screen (80 characters by 24 lines), how do I do that?
In, say, Pascal, I would do something like this:
Program XY;
Uses Crt;
Begin
GotoXY(10,10;
Write('This text begins at line 10, character 10');
end;
End Program XY
Or in, say Qbasic:
LOCATE 10, 10: PRINT "This text begins at line 10, character"
Is there an equivalent to this in FORTRAN or am I left with no hope? I've been searching alot both on this forum and via Google, but I couldn't come up with anything useful.
Any input is appreciated!
Thanks alot,
Anders Christensen
I've been doing programs in the Pascal and Qbasic and I've picked up doing alot of Fortran lately (been using it previously aswell). For output to the screen, I use the Print or Write commands normally. This is in a non-graphic enviroment, by the way. (Like DOS or Linux without X).
These methods generate a new line and pushes lines already written a line up.
If I wanted a certain string to be written a specific place on the screen (80 characters by 24 lines), how do I do that?
In, say, Pascal, I would do something like this:
Program XY;
Uses Crt;
Begin
GotoXY(10,10;
Write('This text begins at line 10, character 10');
end;
End Program XY
Or in, say Qbasic:
LOCATE 10, 10: PRINT "This text begins at line 10, character"
Is there an equivalent to this in FORTRAN or am I left with no hope? I've been searching alot both on this forum and via Google, but I couldn't come up with anything useful.
Any input is appreciated!
Thanks alot,
Anders Christensen