can any body tell me about this array concepts::::--------

// A dynamic array of dates, with only 10 elements in memory

date d[,10]; (what it means)

// A fixed length array of NoYes, with 100 elements and 10 in memory

NoYes e[100,10]; (what it means)

-----------------------------------------------------------------------------------------------------

multiple array indicies:--------

real earnings[10*3];

When you wish to refer to earnings[i,j], you simply write

earnings[(i-1)*3 +j].

You can easily wrap this into a macro:

#localmacro.earningIndex

(%1-1)*3+%2

#endmacro

so you could write

earnings[#earningIndex(i,j)]

The above scheme may easily be extended to any number of dimensions. The element a[i1, i2, ..., ik] can be accesses by computing the offset

(i1 - 1)*d2*d3*..*dk +

(i2 - 1)*d3*d4*...*dk + .... +

(ik-1 -1)*dk +

(ik-1)

into an array containing (d1*d2*...*dk) elements

can any body tell me whats going on here.......

---------------------------------------------------------------------------------------------------------

if any body know about it please tell me

 

Regards

Adrsh Gupta

axapta technical consultant

hero corporates

india

 

 


Yahoo! India Matrimony: Find your partner online.
Go to http://yahoo.shaadi.com

Sharing the knowledge on Axapta.



SPONSORED LINKS
Axapta Business finance course Business finance online course
Business finance class Business finance schools Business finances


YAHOO! GROUPS LINKS




Reply via email to