Now in Dynamics Ax 7, now developer can declare variable/object where they need it. Instead ax 2012, where variable declaration is only possible in very beginning of method or function.
That’s bad : it will disorganize the code, Its look better as in Ax 2012 that variables will declare in separate section. It was better to search reference of class object or table buffer
For ( int counter =0; counter < 10; counter++)That’s good: Its ease to developer to declare variable where he needs.
{
If ( counter >10)
{
Int value= counter+10;
}
Else
{
Real percentage = (counter *20) /100;
}
}
That’s bad : it will disorganize the code, Its look better as in Ax 2012 that variables will declare in separate section. It was better to search reference of class object or table buffer
No comments:
Post a Comment