AddNumberTo

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
add <Value> to <Target>
Associationscom.livecode.arithmetic
Summary

Adds Value to Target.

Parameters
NameTypeDescription
Target

An expression that evaluates to a numeric container.

Value

An expression that evaluates to a number.

Example
    variable tVar as Number
    put 2 into tVar
    add 10 to tVar -- tVar contains 12
Description

Adds the number Value to Target.

Note: It is a syntax error if Target does not evaluate to a variable.

Tagsmath