Naming conventions for use of keywords

Reserved words in the X++ language all begin with a lowercase letter.

Examples:

if (...)
{
    while (true)
    {
        for (int i=0; i < 10; i++)
        {
            ttsBegin;
            
            InventTable inventTable;
            select firstOnly pessimisticLock forUpdate inventTable;
            if (inventTable)
            {
                inventTable.update();
            }
            
            ttsCommit;
        }
    }
}
else
{
   ...
}