SubtractNumberFrom

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
subtract <Value> from <Target>
Associationscom.livecode.arithmetic
Summary

Subtracts Value from Target.

Parameters
NameTypeDescription
Target

An expression that evaluates to a numeric variable.

Value

An expression that evaluates to a number.

Example
variable tVar as real
put 10 into tVar
subtract 2.5 from tVar -- tVar contains 7.5
Description

Subtracts the number Value from Target.

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

Tagsmath