Unresolved References

The statistics from our DEMO load displayed a line for Unresolved References when we ran .STATISTICS. Non were shown for our demo as all the references, words, could be found when compiling. If this is not the case, say because a word was incorrectly spelled, the word name would appear under the Unresolved Reference heading. IRTC differs from many Forth implementations in that forward references are allowed and are automatically resolved. This applies to Forth kernel words as these are contained in the Library. Any forward reference made in your application code will be resolved when the definition is compiled later from the source. In IRTC it is therefore not usually necessary to explicitly define forward references, although you may with FORWARD:. This is true for your Target application code only. Library extensions do require special conditions for forward referencing and will cause compile exceptions if they occur.

Contents