Extend a record in an array

Started by Stephen T., October 30, 2015, 02:15:13 PM

Previous topic - Next topic

Stephen T.

Reuben,
I can't quite get my head round this, but I think the request is subtly different.
We used to develop retail software in the dim and distant past - and the input of the matrix is effectively a single column input in a matrix denoted by the dimensions (as you say, size/colour, fit/style,whatever). So that would have an array of a single column ie
DEFINE m_qtyArr       DYNAMIC ARRAY OF DIMENSION 2 OF RECORD
             qty                INTEGER
             END RECORD

...and the INPUT ARRAY m_qtyArr..... (no index specified) appearing as a matrix

In the array that I'm talking about here, it is storing child records for a master - and then details in that child. Here, the input is using the version array element as the base.
IE I have an array of directories to be processed, but they are within the version (within the overall change) - so the array is dimmed as:
DEFINE m_dirArr          DYNAMIC ARRAY OF DIMENSION 2 OF RECORD
             directory         STRING,
              deleted          INTEGER,
             auditRecNo      INTEGER
              END RECORD

I want in this case to be able to input a directory list based on the version - so:
INPUT ARRAY m_dirArr[versionArrayPointer]....(index specified to select which element is being referenced)

Does that make sense?