The following BASIC operators are presented:
Indicates an or operation in a logical expression. |
|
Signifies not equal to. |
|
Indicates that both components of a logical expression must be true. |
|
A mathematical operator indicating a multiply operation. |
|
Multiplies a numeric expression and assigns it to the variable. |
|
Performs addition or indicates a positive numeric value. |
|
Adds a given numeric expression and assigns it to the given variable. |
|
Designates a subtraction operation, or to indicate a negative numeric value. |
|
Calculates the remainder of dividing the dividend by the divisor (otherwise known as the modulo). |
|
Divides a variable by a given numeric expression and assigns the remainder (modulo) to the variable. |
|
An alternate means of indicating an exponentiation operation on a specific numeric expression. |
|
Decrements a variable by a numeric expression. |
|
Performs division. |
|
Divides a variable by a numeric expression and assigns it to the given variable. |
|
Concatenates strings in an assignment statement or, when the : displays at the end of a print or crt expression, suppresses the automatic CR/LF combination, thus holding the current print/display position. |
|
Concatenates a string to a variable and assigns it back to the given variable. |
|
Less than or equal to operator. |
|
Represents a not equal to operator. |
|
Represents either the assignment operator in an assignment statement or a relational operator in a conditional expression. |
|
The greater than operator. |
|
The not equal operator. |
|
The greater than or equal to operator. |
|
Indicates that both components of a logical expression must be true. |
|
Concatenates strings in an expression. |
|
Represents either the assignment operator in an assignment statement or a relational operator in a conditional expression. |
|
Denotes a greater than or equal condition between two elements. |
|
Denotes a greater than condition between two elements. |
|
Represents the less than or equal to (<=) condition. |
|
Used in conditional expressions as an alternate form of the less than (<) condition. |
|
Tests a string and determines if it matches a predefined pattern of alphabetical, numeric, wildcard, or literal characters. |
|
Represents a not equal to condition within relational expressions. |
|
Indicates that only one of the components of a logical expression need be true for the expression to evaluate as true. |