Open main menu

Difference between revisions of "AGIWiki/Logic syntax"

m
no edit summary
(Created page with "{{AGIWiki}} This article describes the '''logic syntax''' for the C-like "official" AGI syntax described in the AGI Specs and supported by [[AGIWiki/AGI St...")
 
m
Line 7: Line 7:
== Action Commands ==
== Action Commands ==


Normal action commands are specified by the command name followed by parentheses which contain the arguments, separated by commas. A semicolon is placed after the parentheses. The parentheses are required even if there are no arguments. The arguments given must have the correct prefix for that type of argument as explained later in this document (this is to make sure the programmer does not use a [[AGIWiki/Variable|variable], for example, when they think they are using a [[AGIWiki/Flag|flag]).
Normal action commands are specified by the command name followed by parentheses which contain the arguments, separated by commas. A semicolon is placed after the parentheses. The parentheses are required even if there are no arguments. The arguments given must have the correct prefix for that type of argument as explained later in this document (this is to make sure the programmer does not use a [[AGIWiki/Variable|variable]], for example, when they think they are using a [[AGIWiki/Flag|flag]]).


<syntax type="C++">
<syntax type="C++">
885

edits