Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 06 APR 2000 05:38:36PM Michael Slack wrote:

I'm working in AREV 3.12. In looking to write a small bit of code to modify the prompts on a screen, I came across some examples of code in our application that did and didn't make sense to me. I ran into several samples where the programmer had acessed prompts like this: WC_W%(X)

I know the window variable of WC_W% is a dimensioned array. What confuses me at this point is the mixture of the parentheses 1) and angle brackets (). They seem to suggest that this method is equivalant to WC_W%(W,Y) or WC_W%. Is there something special about the mixture of the parentheses and angle brackets that I'm not seeing? Or would combining them into one or the other type of brackets work equally as well?

If someone could point me in the right direction to read up on this, that would be a big help. I couldn't find anything within the manuals I have available to me or searching thru this discussion area. Then again I could just be blind or searching for the wrong thing or both. ;^)

Thanks

Michael Slack


At 06 APR 2000 06:20PM Steve Smith wrote:

This indicates that a dynamic array is stored within the element of a matrix.

Each matrix element is isolated in memory by a different descripter. Each dynamic array element is isolated by a contiguous delimiter (usually an ascii character above char(251))

Why would you do this? Because the list of prompts in the window by convention (and for speed) has been stored as a matrix, but the list of property elements for each field (ie. within that) is stored as a dynamic array (for memory savings).

Steve


At 07 APR 2000 11:21AM Michael Slack wrote:

Thanks for the information. That makes sense. It looks strange but it makes sense.

Thank You,

Michael Slack

View this thread on the forum...


  • third_party_content/community/commentary/forums_nonworks/8610ea04f93b106a852568b90076e42b.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1