- #1
1ytrewq
- 6
- 0
I need to create an empty array but the length of the array is determined by the start and end numbers entered by the user
for example if the range of numbers the user was interested in was 4-10 inclusive then i want the array to be of length 7
How to I go about doing this?
Other languages (Python for example) have the option to create an empty list and then values can be added to the list as many times as is required. Is there any similar function in fortran 77?
Thanks in advance for any help!
for example if the range of numbers the user was interested in was 4-10 inclusive then i want the array to be of length 7
How to I go about doing this?
Other languages (Python for example) have the option to create an empty list and then values can be added to the list as many times as is required. Is there any similar function in fortran 77?
Thanks in advance for any help!