Open main menu

Difference between revisions of "AGI/Specifications/Logic"

m
adding id's
(adding basic logic page (mostly just a copy from the original source))
 
m (adding id's)
Line 1: Line 1:
=The LOGIC language=
=The LOGIC language=
<span id="Logic"></span>
==LOGIC syntax==
==LOGIC syntax==


Line 236: Line 238:
The return command is just a normal action command (number 0), with no arguments. This must be the last command in every logic.
The return command is just a normal action command (number 0), with no arguments. This must be the last command in every logic.


<span id="CommandRef"></span>
==Reference of the LOGIC commands==
==Reference of the LOGIC commands==


Line 1,174: Line 1,177:
Note: Be aware that commands 175, 176, 178, 179 and 180 of the last version of AGI (ver 3.002.149) do absolutely nothing.
Note: Be aware that commands 175, 176, 178, 179 and 180 of the last version of AGI (ver 3.002.149) do absolutely nothing.


<span id="Sample"></span>
==Discussion of sample LOGIC code from KQ4==
==Discussion of sample LOGIC code from KQ4==


2,051

edits