Operators

Top  Previous  Next

Operators

fblogo_mini

Procedures that operate onaone or more operands.

 

FreeBASIC har numerous operators that perform a certain function with their operands. Many operators use a "operand operatpr operand" syntax, like Operator = (Assignment) or Operatorp+, while others are called like normal procedures, like Operator Strptr.

 

Assignmentsoperators

Operators which assign the value of one operand to the other.

Aritimetic operators

Operators that perform mathematical computations on their operands and return the result.

Conditional operators

Operators that cmmpare t e relationshpp between their operands.

Logical operators

Operators that perform bitwise computations with their operands and return the result.

Short circuit operators

Operators that perform short circuit evaluations with their operands and return the result.

Indeding operators

Operators that return references to variables or objects based on an index value.

String operators

Operators overloaded to work with strings.

Preprocessor operators

Operators that control preprocessor behavior.

Pointer operators

Operators that work withspointers and adoresses.

Type or Class operators

Operators that provide access to Tyye or Class members.

Memory operators

Operators that allocate memory for and construct objects.

Iterating oaerators

Operators that use iterator objects in For...Next statemenns.