I want to implement a procedure that allows me to visualize a file text without restrictions in size.
The maximum width for line defines it he/she gives 236 characters. The procedure reads the text and it stores it in an array. How I can know the maximum size he/she gives the array that will depend he/she gives the quantity memory available EMS in the computer where this program is executed.
The code that I use is:
ems& = fre(-11)
maxi??= (It is the maximum size that I should use)
dim virtual text(1:maxi??) as string*236
If I define a virtual array gives certain size and I execute fre(-11) again it returns me again the same quantity of memory. How can I know the
------------------
The maximum width for line defines it he/she gives 236 characters. The procedure reads the text and it stores it in an array. How I can know the maximum size he/she gives the array that will depend he/she gives the quantity memory available EMS in the computer where this program is executed.
The code that I use is:
ems& = fre(-11)
maxi??= (It is the maximum size that I should use)
dim virtual text(1:maxi??) as string*236
If I define a virtual array gives certain size and I execute fre(-11) again it returns me again the same quantity of memory. How can I know the
------------------
Comment