Re: Question about KIND
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Mon, 30 Apr 2007 10:29:56 -0700
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
.
- References:
- Question about KIND
- From: Gus Gassmann
- Re: Question about KIND
- From: Steve Lionel
- Re: Question about KIND
- From: Ron Shepard
- Question about KIND
- Prev by Date: Re: Question about KIND
- Next by Date: Re: utility to replace "end" with "end subroutine foo"
- Previous by thread: Re: Question about KIND
- Next by thread: Re: Question about KIND
- Index(es):