deadCL uses functions to simplify actions, generally not present within a Conversation file.
They're the easiest components of deadCL to understand, the following examples should aid in your understanding - if you have any questions best to visit our Community hub.
|Used as a separator|
Within deadCL we use , to seperate sections or objects within command string, they're never used in Key Command but frequently in Sub-key-commands & Libraries.
For example we use , to divide sections of a command, in this case the different ways (values) of generating the colour amber.
Amber; #FFBF00, 255, 191, 0, 045*, 100%, 50%
We can also use , to provide a link between object type and its resource in this case 'sample' (the object) & 'zero-0.png' (the resource).
|Separates a KC from its sub-routine and action (within a Conversation)|
Within deadCL we use ; in a Conversation to form a break between a KC & its action or routine.
For example we use ; to set the action of the KC 'MATCH'
MATCH; INPUT, COMPARE 'THE_WORD'
|Separates a KC from associated object(s) with Libraries|
Within deadCL we use ; in a Library both to seperate connect a KC from its relevant object information.
For example we use ; to connect the object value 'var_apple' to the KC 'fruit'
|Key Command function attribute, often used for substitution|
Within deadCL we use $_ to create substitutional values - simply to shorten longer strings of object information.
For example we use $_ to create an object value for '0' as $_RAMDOM
SELECT 0, SET AS $_RAMDOM