Re: Question about KIND



Ron Shepard <ron-shepard@xxxxxxxxxxxxxxxxxx> wrote:

but you cannot do this with a specification expression to define the
parameter value.

Just to make a picky correction to the terminology...

What you mean is initialization expression instead of specification
expression. Probably just a slip of the mind on your part, as you ohave
the substance correct.

Parameters must be defined with initialization expressions.

In my own words (the standard doesn't say anything so simple; my version
doesn't cover all the fine points, but it is a lot simpler and gives the
fundasmental ideas):

Initialization expressions must be evaluatable at compile time.
Specification expressions must be evaluatable on entry to a procedure.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.