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

Edit | Attach | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2017-02-06 - 22:45:33 - JimLewis
 
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback