home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
textedit.swg
/
0002_CENTER2.PAS.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
193 b
|
14 lines
{ Center Text }
Uses Crt;
Var
s : String;
i : Integer;
begin
Write('String? ');
readln(s);
i := (succ(lo(windmax)) - length(s)) shr 1;
gotoXY(i,10);
Write(s);
end.