Both sides previous revisionPrevious revisionNext revision | Previous revision |
pf:prpl_information [2016/06/21 13:44] – virgilw | pf:prpl_information [2025/02/14 14:57] (current) – external edit 127.0.0.1 |
---|
This reference is divided into two major sections with many subsections in each of those. The purpose of this reference is to provide an index to all commands in the language, and define the input required and the output produced by each command. In many instances a short example of the use of the command is provided. | This reference is divided into two major sections with many subsections in each of those. The purpose of this reference is to provide an index to all commands in the language, and define the input required and the output produced by each command. In many instances a short example of the use of the command is provided. |
| |
The Language API (Application Programming Interface) is related and common in many languages - these are used to control program execution and are part of the core language. The language API is identical to the [[ crpl:crplreference | CRPL language APIs]] - by reference those are included here. | The Language API (Application Programming Interface) is related and common in many languages - these are used to control program execution and are part of the core language. The language API is almost identical to the [[ crpl:crplreference | CRPL language APIs]] - by reference those are included here. There are a few extensions and syntactic differences, notable for global variables (which do not exist in CRPL) and list element access (square bracket notation). Unit attribute modification has also changed format. |
| |
The rest of PRPL is contained in the Platform API and is game-specific. These govern the behavior of objects in the game. | The rest of PRPL is contained in the Platform API and is game-specific. These govern the behavior of objects in the game. |
To get started, review the [[crpl:overview|CRPL overview]] and the [[crpl:crpltutorial|programming tutorial]]. | To get started, review the [[crpl:overview|CRPL overview]] and the [[crpl:crpltutorial|programming tutorial]]. |
| |
There is also an [[prpl:alphabetic list of commands]] in the language. In addition, you can [[crpl:examine map resources]] from other maps and missions from the game. | There is also an [[prpl:alphabetic list of commands]] in the language. In addition, you can [[prpl:examine map resources]] from other maps and missions from the game. |
| |
| |
[[crpl:crplreference#comparators|Comparators]]\\ | [[crpl:crplreference#comparators|Comparators]]\\ |
[[crpl:crplreference#debugging|Debugging]]\\ | [[crpl:crplreference#debugging|Debugging]]\\ |
[[crpl:crplreference#lists|Lists]]\\ | [[crpl:crplreference#lists|Lists]] FIXME PRPL uses []\\ |
[[crpl:crplreference#logical_operators|Logical Operators]]\\ | [[crpl:crplreference#logical_operators|Logical Operators]]\\ |
[[crpl:crplreference#math_commands|Math Commands]]\\ | [[crpl:crplreference#math_commands|Math Commands]]\\ |
| |
=== External references === | === External references === |
<-[[crpl:overview|CRPL Overview]]\\ | <-[[prpl:overview|PRPL Overview]]\\ |
<-[[prpl:Alphabetic List of Commands]]\\ | <-[[prpl:Alphabetic List of Commands]]\\ |
<-[[Examine Map Resources]] | <-[[Examine Map Resources]] |