[net.micro.pc] Text/Graphics switching w/ Turbo Pas

pier@ur-univax.UUCP (05/02/85)

I am trying to mix graphics and text on the screen using Turbo Pascal but
run into the problem that whenever I switch from textmode to graphmode or
vice versa, the screen is cleared. I learned that this is not due to Turbo 
but to DOS, because graphics and text information are not stored at the same
place and not in the same way.

Any insight on how I can achieve my goal?

Thanks in advance.

Pierre Darmon
University of Rochester

koved@tove.UUCP (Larry Koved) (05/04/85)

When you are in graphics mode, you can use write or writeln
to place text on the screen.  It works fine.  I have used it
frequently.  To position the text, use the GotoXY function
to place the logical cursor on the screen.  One disadvantage of
the graphics mode is that there is no physical cursor so it is
hard to tell where the text is going to be placed when you write
to the screen if you don't use the GotoXY function.
-- 
Spoken: Larry Koved
Arpa:   koved.umcp-cs@CSNet-relay
Uucp:...{allegra,seismo}!umcp-cs!koved