Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop:documentation:manual:edit_expr [2016/01/01 12:27]
brylie Moving function reference to own page
gdevelop:documentation:manual:edit_expr [2020/05/31 15:29] (current)
rapperdinesh [Some examples and helpful functions]
Line 5: Line 5:
  
 {{ gdevelop:​documentation:​manual:​newitem6.png?​nolink |}} {{ gdevelop:​documentation:​manual:​newitem6.png?​nolink |}}
 +
 ----- -----
  
Line 20: Line 21:
  
 In the image above you can see a list of available operators and expressions:​ click to add one. You can also add properties in one of the two lists: click on **//​Add//​**,​ and fill out the parameters if necessary. In the image above you can see a list of available operators and expressions:​ click to add one. You can also add properties in one of the two lists: click on **//​Add//​**,​ and fill out the parameters if necessary.
 +
 ----- -----
  
Line 28: Line 30:
   ToNumber(StrAt("​157",​Random(2)))   ToNumber(StrAt("​157",​Random(2)))
  
-will give 1, 5 or 7 as result.+will give 1, 5or 7 as result.
  
   * **Random(x)** will give a random number between 0 and x.   * **Random(x)** will give a random number between 0 and x.