{"identifier":29791,"topic":"Commands","name":"add","text":"<code>add <i>number<\/i> to <\/code>[<i><code>chunk<\/i> of<\/code>]<code> <i>container<\/i><\/code> <br><br>\n\n Note: The container or chunk referred to must contain a number. <br><br>\n\n The<code> add <\/code>command adds the value of<code> <i>number<\/i> <\/code>to the number in a container or chunk and replaces the contents of the container or chunk with the result. <br><br>\n\n (You can use the<code> is a <\/code>operator to see if the container is a number.) <br>\n","related":{"89523":"Arithmetic operators","49191":"subtract","6157":"Type and existence operators"},"examples":"add 3 to It  \n\nadd field \"Amount\" to field \"Total\"\n\nget last line of card field \"credits\"\nif it is a number then add it to item 1 of theTotal\n\nif the Message box is a number then add 15 to Message box","demo":"","debug":{"9":["add number to [chunk"]}}