Skip to main content

SubtractNumberFrom

Type​

statement

Summary​

Subtracts Value from Target.

Syntax​

subtract <Value> from <Target>

Description​

Subtracts the number Value from Target.

note

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

Parameters​

NameTypeDescription

Target

An expression that evaluates to a numeric variable.

Value

An expression that evaluates to a number.

Examples​

variable tVar as real
put 10 into tVar
subtract 2.5 from tVar -- tVar contains 7.5
Thank you for your feedback!

Was this page helpful?