I'm getting an access violation so I'm going to need some help...
First I have my array
multiarray : array of array of array of string;
The first dimension will be 1 to 15 (there are 15 departments)
The second dimension will be from 1 up to the number of jobs in that department. Here's an example:
DEPARTMENT 1: 10 Jobs
DEPARTMENT 2: 12 Jobs
DEPARTMENT 3: 7 Jobs
DEPARTMENT 15: 9 Jobs
This information is stored in
departmentcounts : array[1..15] of integer;
The third dimension will be for each job! There will be strings from 1 to 14.
Can you give me some examples of setlength that can accomplish this.
I'm sure I'm doing it wrong!
for k := 1 to 15 do
for i := 1 to departmentcounts[k] do
setlength(multiarray[k], departmentcounts[i], 14);