[J3] Question involving explicit initialization
Steven G. Kargl
kargl at troutmask.apl.washington.edu
Sat May 4 12:55:50 EDT 2019
On Sat, May 04, 2019 at 12:13:22PM -0400, Vipul Parekh via J3 wrote:
> On Sat, May 4, 2019 at 11:00 AM Bill Long via J3
>
> Does the statement, "A variable, or part of a variable, shall not be
> explicitly initialized more than once in a program" apply to the code
> I showed in the initial note?
Of course, it does not apply. As Bill points out, 'i' is a
local variable to each subprogram. 'i' is initialized once.
It seems that you are confused with a local variable blocking
host association.
--
Steve
More information about the J3
mailing list