The first formal parameter in an Ada procedure -
from ada2012 reference manual:
arm2012.html/rm-4-1-3.html
a selected_component not expanded name shall resolve denote 1 of following:
- a view of subprogram first formal parameter of tagged type or access parameter designated type tagged:
why significant have first formal parameter?
please explain examples.
the definition in 4.1.3 selected components, 9.1/2 provides prefixed notation, allows 1 invoke primitive operations of tagged type without mentioning enclosing package explicitly. related example seen here.
Comments
Post a Comment