PlusUnaryOperator

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
+ <Operand>
Associationscom.livecode.arithmetic
Summary

Unary plus operator.

Parameters
NameTypeDescription
Operand

An expression that evaluates to a number.

Example
variable tVar as Number
put +5 into tVar -- tVar contains 5
Values
NameTypeDescription
return

The result of evaluating Operand.

Description

The unary plus operator is a no-op on the predefined numeric types.

Tagsmath