Variable declaration reset: Difference between revisions

actually -- major correction (J)
(→‎{{header|J}}: more clarification for summary statement)
(actually -- major correction (J))
Line 231:
But it would not alter the generated result.
 
J's control words (like '<tt>while.</tt>') do not create new variable scopes. However, givenIf J's semantics, its behavior in the context of this task would be unchanged if the <tt>while.</tt> loop introduced a new variable scope.scopes (However,for ifcontrol J'swords, <tt>if.</tt>that statementwould introducedprevent aupdates newinside variablethose scope, that wouldblocks breakfrom thisbeing implementationvisible ofoutside thisthose taskblocks.)
 
=={{header|Java}}==
6,951

edits