ThePlace

Home ] Search ] Resources ] Site Map ] Contact Me ]
Dave's Information Technology Resource

Up ]

Computers & Programming ] Operating Systems ] Programming Environments ] Windows-Based Applications ] Objects and Programming ] Data and Variables ] [ Operational Expressions ] Functions and Procedures ] Programming Control ] Algorithms ] Files, Graphics & Databases ] Software Development ] 10 Things... ]

--- Operational Expressions ---

Operational expressions are typically used to manipulate data in computer programs. 

They support activities such as:

bullet

Arithmetic

bullet

Comparison

bullet

Concatenation

bullet

Logical

 

Arithmetic

Operators used to perform mathematical calculations.

Example: C = A * B

bullet

^  —Exponent Operator

bullet

* —Multiply Operator

bullet

 /  —Division Operator

bullet

\ —Division, Return Integer Operator

bullet

Mod —Modulo Operator

bullet

 + —Add Operator

bullet

 - —Subtract Operator

 

Comparison

Operators used to perform comparisons of numbers, strings, etc..

"cat and dog" <> "kitten and pup"  (usually found in if-then statements)

bullet

 = —Equal (== is used in C, Java, JavaScript)

bullet

<> —Not Equal (!= is used in C, Java, JavaScript)

bullet

< —Less Than

bullet

> —Greater Than

bullet

<= —LessThan or Equal

bullet

>= —Greater Than or Equal

 

Concatenation           

Operators used to combine strings.

Newstring = "the time is " & Now (Now is a function that returns the current time).

bullet

 +, & for combining strings

 

Logical Operators

Operators used to perform logical operations.

(A * B) AND (C * D) (usually found in if-then statements)

bullet

And Operator (&& is used in C, Java, JavaScript)

bullet

Not Operator 

bullet

Or Operator (|| is used in C, Java, JavaScript)

 

Home ] Up ] Computer Architecture ] Database Bootcamp ] Visual BasicS ] Web Basics ] Web Multimedia ] Web Programming ] Advanced Web Topics ] Developing Web Sites ] XML Technology ] Web Glossary ]

Copyright © 1999 - 2005 
ThePlace - Written and Sponsored by Dave Hillman