The following sections make the reference manual. It has been generated
(mostly) automatically by Morphine. The advantages are manifold. It is a complete picture of the state of Morphine at the time it has been
generated. The syntax is accurate as arguments and types are deduced from
the actual implementation of objects. Last but not least, you can
generate an up-to-date version at any time using command
manual/1
. Yet, it, too often, lacks examples, and currently the
items are not listed in alphabetical order. The index at the end of
the manual should help palliate the latter problem.
In the reference manual messages are listed in the same way as in
the on-line manual. For example, the message for the
manual
command is:
manual(File)Beside the actual help message this says that command
Command which shows all the scenarios, their commands and the corresponding explanations in the file ``File'' (in LaTeX format). It also does some fixes in the LaTeX file. The LaTeX file will then be called ``File.tex'' afterwards. In order to get a printable ``File.dvi'', use command latex_manual/1.
File : atom
type of command : opium
scenario : help (global in Morphine)
manual
is called
with a single parameter, File, which has to be of type
atom
. The type of the command is ``opium''. Commands can
also be of type ``trace'' which means that they print a trace line.