40.4.2.1 Loading the Library

First we need to know how to load the Tcl/Tk library into Prolog. This is done through the use_module/1 predicate thus:

     | ?- use_module(library(tcltk)).