Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!hsdndev!cmcl2!adm!news From: GRAD205%BRFUEM.BITNET@uicvm.uic.edu ( Humberto) Newsgroups: comp.lang.pascal Subject: Problems with Read Procedure Message-ID: <26937@adm.brl.mil> Date: 20 May 91 09:06:53 GMT Sender: news@adm.brl.mil Lines: 39 Greetings ... I don't know the reason ... But, the following source piece doesn't work: Program Test; uses crt; var Name : string[12]; Field : array[1..10] of string[10]; n : integer; begin ClrScr; Read(Name); n := 1; repeat Read(Field[n]); n := n + 1; until n = 11; end. Well, this program doesn't have errors at compilation ... But when I run it, Only Name and Field[1] are read, Field[2], Field[3], ..., Field[10] no ... What is happening? Please, could someone help me? Oh, yes. I'm using Turbo Pascal 5.5. Thanks very much in advance. Humberto +----------------------------+----------------------------------------------+ | Alunos da graduacao do | E-MAIL: BITNET= GRAD205@BRFUEM.BITNET | | Curso de Matematica | ANSP= GRAD205@BRFUEM.ANPR.BR | | BRFUEM | GRAD205@NPDVM1.FUEM.ANPR.BR | +----------------------------+----------------------------------------------+ | Fundacao Universidade Estadual de Maringa - FUEM | | Departamento de Matematica - DMA | | Telefax: (0442) 22-2754 | +---------------------------------------------------------------------------+