In Forth, in case of re-definition of word, what is the expected behavior of another word that uses the re-defined one?
For e.g. if x
calls y
:
: Y ." Old Y " CR ;
: X 10 0 DO Y LOOP ;
\ ...
: Y ." New Y " ;
then after the re-definition of Y
, what should be the output of X
, Old Y
or New Y
?