Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: 1 [2]
  Reply  |  Print  
Author Topic: Extend a record in an array  (Read 21630 times)
Stephen T.
Posts: 114


« Reply #15 on: November 20, 2015, 10:12:59 am »

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?
Pages: 1 [2]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines