![]() |
#1 |
Участник
|
Although the coding standards are unambiguous about the layout of CASE statements, there has always been practiced an alternative flavor. Both within MS and outside. This is the standard syntax: CASE <Expression> OF <Value set 1>: <Statement 1>; <Value set 2>: <Statement 2>;...... <Value set n>: <Statement n>;END;And this is the alternative flavor: CASE <Expression> OF <Value set 1>: <Statement 1>; <Value set 2>: <Statement 2>;...... <Value set n>: <Statement n>;END;Note that:
The action [i.e. the statement - lvanvugt] starts on the line after the value set and is further indented by two character spaces. Meaning that the alternative flavor is not part of these standards and now with NAV 2013 you could say that has been confirmed by means of the code cleanup performed between Beta and RTM, where all alternative layouts have been revised and changed to the standard layout. The alternative is more compact, but the standard is more clear in displaying the 'available' value sets. Click on the image to get a full view that's readable. Читать дальше
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|