*/
Do you receive the Programmer's Heaven newsletter? If not, why not subscribe?
*/

View \READARRY.PAS

Getting Started with the Pascal tutorial, source

Submitted By: WEBMASTER
Rating: (Not rated) (Rate It)


(* Chapter 10 - Program 5 *)
program Read_Into_An_Array;

var Index : integer;
    Place : array[1..10] of char;

begin
   for Index := 1 to 5 do begin
      Write('Enter up to 10 characters ');
      Readln(Place);
      Writeln('The data you entered was (',Place,')');
   end;
end.

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.