Tutorial

Working with operators in Formula language for Lotus Notes

The following is tip #4 from "A Formula language for Lotus Notes introduction -- 7 tips in 7 minutes," excerpted from Chapter 5 of the book Lotus Notes Developer's Toolbox, published by IBM Publishing.

Working with operators

Operators are used to compare or equate values and for mathematic calculations. The following table lists the primary oprators used in formulas.

Operator Operator usage or description
- Used in subtraction or to represent a negative number
! Represents a logical NOT
!= Represents not equal
& Represents a logical AND
* Used in multiplication
/ Used in division
: Used to separate a list of values
:= Used to assign a value to a variable
| Represents a logical OR
+ Used in addition or to represent a positive number
< Represents less than
<= Represents less than or equal to
<> Represents not equal
= Represents equal
=! Represents not equal
> Represents greater than
>< Represents not equal
>= Represents greater than or equal to


A Formula language for Lotus Notes introduction

 Home: Introduction
 Tip 1: What is Lotus Formula Language?
 Tip 2: Working with variables in Formula language for Lotus Notes
 Tip 3: Lotus Notes Formula language keywords
 Tip 4: Working with operators in Formula language for Lotus Notes
 Tip 5: Lotus Notes Formula language general syntax rules
 Tip 6: What are Lotus Notes Formula language functions and commands?
 Tip 7: Working with text strings in Formula language for Lotus Notes

An Introduction to Formula Language This chapter excerpt from Lotus Notes Developer's Toolbox, by Mark Elliott, is printed with permission from IBM Publishing, Copyright 2006.

Click here for the chapter download or purchase the book here.

This was first published in March 2007

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: