Let us start with a list of AriNET commands given in a tabular form:
| Main Commands | |
| Command | Meaning |
| (defvariable |
defining an AriNET variable which can be used in arithmetical networks16 |
| (defconstant |
defining a constant name to be of value |
| (defconstraint |
defining a constraint where |
| (defmodule |
defining a module (a function) where |
| (set-value! |
* sets the value of the variable |
| (get-value |
* asks for the value of |
| (forget-value! |
* resets the value of |
| (probe |
displays a message each time the value of |
| (reset) | * resets the whole environment (i.e erases the arithmetical networks, functions and variables). |
Note: The commands with a *, in the meaning column, are accessible trough the GUI as well. (see figures 4 , 5 and 6)
The
of a (defconstraint
) (i.e of a constraint) is constructed using the followings:
Where 1ary-op and 2 ary-op are one of the following:
| Defconstraint : 1ary-op | |
| Command | Meaning |
| (sin |
sinus of |
| (cos |
cosinus of |
| (tan |
tangent of |
| (arcsin |
|
| (arccos |
|
| (arctan |
|
| (sqrt |
|
| (sqr |
|
| (exp |
|
| (ln |
| Defconstraint : 2ary-operations18 | |
| Command | Meaning |
| ( |
addition |
| ( |
subtraction |
| ( |
multiplication |
| ( |
division |
| ( |
equality |