pj@pnet51.orb.mn.org (Paul Jacoby) (02/21/91)
I'm doing some work on a 4th Dimension database, attempting to make it compiler-ready. I did some coding which creates arrays based on user input. As such, I have a 'case of' which defines an array called 'xLabel' which defines that array as STRING, DATE, REAL, etc, dependent on the user's choice of data. Now of course, the compiler throws up on this multiple definition attempt, even though the array is only defined once (since only one case gets executed). However, when I come back into the routine later, there is a chance that the array will need to be redefined. Question: Is there some way to do this and still be compilable? Or do I have to define an array up-front of each type, and then just use the proper one? BTW, the size of the array is also variable...any way to deal with that? 4D version 2.1.1, Mac IIx, 2D Graph external installed. .-----------------------------------------------------------------------------. | UUCP: {crash tcnet}!orbit!pnet51!pj | RTFD = Read The Silly Doc! | | INET: pj@pnet51.orb.mn.org | | `-----------------------------------------------------------------------------'