.load
The .load
command loads a file containing Poke code and
compiles and executes it. These files usually have the extension
.pk.
If a relative path is provided, then prefix/share/poke is tried first as a base directory to find the specified file. If it is not found, then the current directory is tried next.
If the environment variable POKEDATADIR
is defined, it replaces
prefix/share/poke. This is mainly intended to test a
poke program before it gets installed in its final location.
If an absolute path is provided, it is used as-is.