Node:Loading the Library, Next:, Up:Basic Functions



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)).