Sorry internet went out for a bit. I get the basic format of the array so far essentially i am doing something like this
tableA DWORD ?, ?, ?, ?
Rowsize = ($ - tableA)
DWORD ?, ?, ?, ?
DWORD ?, ?, ?, ?
DWORD ?, ?, ?, ?
DWORD ?, ?, ?, ?
then I want to take the info from the file and store it in that array.... that is where i am having problems. I cannot seem to find a way to do that. the table that I am thinking of is something like this
| 1 | 2 | 3 | 4 |
1|1000|3000|5000|6000|
2|3000|2000|7000|8000|
3|1500|2500|3500|4500|
4|2000|1000|5000|3000|
5|1000|1000|1000|6000|
where the numbers on the top represent the saleperson id number and the column number
and the numbers on the left side represent the product id number and the row number
the numbers inside are the amounts sold
so i want to go to the first line in the file and read the first 3 digits which is **1 (* = blank space) and assign that to a register. then go to the second element which is also **1
and store that in another register. then i want to go to the 3rd element which is *****1000 and store that in the actual array spot of 1,1... or the first element column second elements row.
but i cannot for the life of me figure out how to do that
the thing is i know how i am supposed to solve this but i cannot take that and put it into code and it is really pissing me off