The document describes the process used by a structural analysis program to design concrete beam flexural reinforcement according to BS 8110-97. The program calculates reinforcement required for flexure and shear. For flexural design, it determines factored moments, calculates reinforcement as a singly or doubly reinforced section, and ensures minimum reinforcement requirements are met. Design is conducted for rectangular beams and T-beams under positive and negative bending.