From: Erich W. <ew....@na...> - 2009-03-31 19:12:10
|
Hello, amforth, rev.736 (3.4) amforth 3.4 ATmega32 ok > : test1 0= if -1 ( no then ) ; ok > : test2 0= if -1 else 0 ( no then ) ; ok > 1 test1 . --- hangs here until reset --- amforth 3.4 ATmega32 > 1 test2 . ?? -13 8 > if statements missing the trailing "then" will compile without the compiler barking. I consider this a bug. calling such a word will produce a "hang" in one case. This can be viewed as another bug, but that is not important. In the other case it is producing an error message at least. Cheers, Erich |