Welcome to the Creatures Wiki! Log in and join the community.

Editing CAOS language spec

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 23: Line 23:
 
* decimal - either an integer or a float
 
* decimal - either an integer or a float
 
** Note that CAOS will cast integers to floats and vice versa when passing parameters. Casting a float to an integer rounds.
 
** Note that CAOS will cast integers to floats and vice versa when passing parameters. Casting a float to an integer rounds.
** So decimal is only used when type needs preserving, eg for [[OUTV]]
+
** So decimal is only used when type needs preserving, eg for OUTV
* variable - a [[variable]] (ie, the result of VAxx/OVxx/etc)
+
* variable - a variable (ie, the result of VAxx/OVxx/etc)
 
* agent - an agent.
 
* agent - an agent.
  

All contributions to Creatures Wiki are considered to be released under the CC-BY-SA and GFDL (see Creatures Wiki:Copyrights for details).

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)