Hi all,
I am trying to read from a *.txt file de content of it and save all the info in an array to do after that a search of a special code to show it on the TP screen.
My attempt so far:
-I have tried to define a global variable that can be used in for diferent programs, one for reading the number of items of the file and other for writing all the content two arrays. So, first I read the length of the array and after I use this length to define de size of the array. I am stuck at some point and the length has to be defined as a constant and the global variable can not be used. The aim is to define an array of the same size as the file and not to define a huge array whenever the situation.
Any help?
Thanks in advance.