Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 64797

Sample code Example of Array in Axapta

$
0
0
This is  Sample code  Example of Array in Axapta .

    str             name;
    Array Arr = new Array (Types::String);
    int             i= 1, j;
    Int test;
   TestTable TestTable;
    ;

    // Create an Str array

    // Write some elements in it
    while select TestTable
    {
        Arr.value(i, TestTable.TestTables);//(i, i*2);

        i++;
    }
    j = i;
    

    for (i = 1; i<j; i++)
    {
      
        test= Arr.value(i);
        while select TestTable where TestTable.TestTables == test
        {
            info(strfmt("%1", Arr.value(i)));
        }
    }


Viewing all articles
Browse latest Browse all 64797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>