Repair example in LRM section 5.6.3

Proposal Details

  • Who Updates: TristanGingold
  • Date Proposed: 2014-11-18
  • Date Last Updated:
  • Priority: High
  • Complexity: Low
  • Focus:

LCS

LCS-2016-I09

Current Situation

Example in LRM 5.6.3 is not valid. Specification of subprogram body 'extract' does not lexic. It needs to match the procedure declaration.

procedure extract (r, i: out Real)

vs

procedure extract (variable r, i: out Real) is

Requirement

Implementation details

Fix the typo.

Code Examples

Use Cases

Arguments FOR

Arguments AGAINST

General Comments

</Brent Hayhoe> As parameters of a subprogram with a mode of 'out' default to an object class of 'variable', I can't understand what the problem is?

</Brent Hayhoe> - 2014-11-18

Supporters

Add your signature here to indicate your support for the proposal

-- TristanGingold - 2014-11-18

Topic revision: r7 - 2020-02-17 - 15:34:38 - JimLewis
 
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback