This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : + (addition)||aTbRef Site Map|
|Operator Scope of Action:||Item|
The addition operator, + (plus sign character), returns the sum of the arguments before and after it.
$MyNumber = 3+4
The addition operator + is also the string concatenation operator, used for joining strings. Thus, the expression
$FullName = "$FirstName"+" "+"$LastName"
evaluates a first name "Jane" and last name "Doe" to a string "Jane Doe".
|Up: Item-based operators|
|Previous: * (multiplication)||Next: - (subtraction)|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]