Welcome to the new platform of Programmers 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 it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
hi again.....I have a question about array in Pascal....
I wanted to know whenever I wanna use an array should I always know what exactly the lenght is??? I mean:
a:array[1..[b]n[/b]] of integer;
I wanna write 'n' instead of writing a number (e.g: 10 or 345 or else...) cause I want to find the lenght during the program...cause it may became different by different datas each time when I run the program....so I don't wanna write a number as a lenght for my array....but I have a compiler problem in runing my program
the error is:(cannot evaluate this expression)...so what should I do then??