Obtaining the Output

Hi Friends

Can anyone please suggest me how to obtain the output in AX 2012 in the following manner?




Try this:

int i;
str s = '*';
for (i = 0; i < 5; i++)
{
    print s;
    s += strRep(' ', 7) + '*';
}
pause;

And now seriously (because I suspect this is not what you want): what output do you mean?

Hi Friend,

Thank you for the reply.

It works good.

I meant that I wanted to print the stars as I mentioned( triangle form).