I need a way in Turbo Pascal 7.0 to take in data and process it. Also
echoing it to the screen at a desired location in a nice font.
I am using a Mode 13 (320x200x256) VGA.
Any help or solutions would be greatly appreciated!!!!
Thanks!
Ian Rothfuss
I...@GNN.COM
:-)
This Is Actully Pretty Easy. If you are using TP's Graph Unit - Do This:
PROCEDURE READANDWRITEFONTTEXT;
VAR
ch:CHAR;
textentered:STRING;
xposition:integer;
BEGIN
REPEAT
ch:=readkey; {Sets Ch to What you type}
textentered:=textentered + ch; {Adds What you typed to The String.}
xposition:=xpostion + 13; {Puts What you Typed 13 pixels After Your
Last Char}
settextstyle(gothicfont,0,2);
outtextxy(xposition,100,ch);
UNTIL ord(ch)=13; {Repeat All That Until Enter Is Pressed.}
IF textentered='kill' THEN
kill;
IF textentered='left' THEN
goleft;
END;
You Get The Idea..... Good Luck!
Brady Holt
Thanks again!
Ian Rothfuss
I...@GNN.COM
:-)