What should happen when there is an ECO-book miss? Should the display of this code cease altogheter, or should the code of the last hit be displayed forever?
The more practical approach would be keep displaying Last hit. Let us consider following situation:
A39 English, Symmetrical, Main line with d4
1 c4 c5 2 Nc3 Nc6 3 g3 g6 4 Bg2 Bg7 5 Nf3 Nf6 6 O-O O-O 7 d4
Suppose hit misses at move 6 should able to display
A38 English, Symmetrical
1 c4 c5 2 Nc3 Nc6 3 g3 g6 4 Bg2 Bg7 5 Nf3 Nf6
Suppose hit misses at move 5 should able to display
A26 English
1 c4 e5 2 Nc3 Nc6 3 g3 g6 4 Bg2 Bg7
A good place to put it then is simply in the window where the moves (and thinking output, if enabled) would appear. E.g. if 1. e4 produces a book hit, display 1. e4 {ECO B00}, and if the opponent then replies with 1. ... c5, display 1... c5 {ECO B20}
display {ECO CODE: Name of an Opening}
1. e4 {ECO B00: King's Pawn Opening}, and if the opponent then replies with...
... c5, display 1... c5 {ECO B20: Sicilian}
would be perfect one. It will help beginner not look any further.
Tks n reg,