home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
PROG
/
PASCAL
/
PASTUT24.ZIP
/
PTUTRSRC.ZIP
/
READSTRG.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1989-12-01
|
408 b
|
23 lines
(* Chapter 10 - Program 6 *)
program Read_A_String;
var Index : byte;
Field : string[10];
begin
for Index := 1 to 5 do begin
Write('Enter up to 10 characters ');
Readln(Field);
Writeln('The data you entered was (',Field,')');
end;
end.
{ Result of execution
(The output depends on the data entered at the keyboard)
}