Reference add()

add()

Add the given number to the value currently stored at the given key. The sum then replaces the value previously stored in the Dictionary.

Examples

Syntax

add(Key, Number)

Parameters

Key
Number:

for the value you wish to add to

Number
Number:

to add to the value

Notice any errors or typos? Please let us know. Please feel free to edit src/data/p5.TypedDict.js and open a pull request!

Related References