[Oberon] [Component Pascal]

eas lab lab.eas at gmail.com
Sun Feb 17 14:04:42 CET 2013

Claudio Nieder wrote:-
>Thus in the special case where the statement modifies the control variable
>of the FOR loop the outcome will differ depending on how the compiler
>author actually did implement it.
 Being compiler dependant is completely unacceptable.

>In "Programmin in Modula-2" Wirth wrote regarding the control variable
>"Its value should not be changed by the statement sequence"..
 Because it's such nice syntax-sugar, couldn't the compiler check that
 the control variable is <read only>.  Well, if you START adding such
 'band-aids' you end up with a mess. And KISS *IS THE* axiom.

== Chris Glur

More information about the Oberon mailing list