Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Problem whith ARRAY of STRING
Hi, I'm new to pascal. I use free pascal compiler ver. 1.0.10. on Widows XP Pro.
I'm trying to make an array of string. I have a problem when I write a string in the array. At the second loop, stop to the instruction Read.
Thank you for any help.
Here's my code:
CONST iMax = 7;
TYPE MyArray = ARRAY[1..iMax] OF STRING;
VAR TestTab : MyArray;
FOR ind := 1 TO 5 DO
WRITE ('Entrez une chaine de caractere >');
0 · ·