I have a file with the following contents:
S3 83
S74 2984
S8 12
... and so on for x # of values
The first value tells you which space to store and the second number tells you the content.
For example:
I want to read the file and store "83" in Space 3 of an array. Then store "2984" in Space 74 of the array. Then "12" in space 8 of the array.
How do I read the file and ignore the "S" at the front and store it in that Space in the array with its contents?
Thanks.