Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Run-Time Functions

This section describes the Runtime Functions of Office Basic.

Basic Constants

Constants used in Basic programs

Variables

The following statements and functions are for working with variables. You can use these functions to declare or define variables, convert variables from one type to another, or determine the variable type.

Logical Operators

The following logical operators are supported by Office Basic.

Comparison Operators

Comparison operators compare two expressions. The result is returned as a boolean expression that determines if the comparison is True (-1) or False (0).

Strings

The following functions and statements validate and return strings.

Date and Time Functions

Use the statements and functions described here to perform date and time calculations.

Mathematical Operators

The following mathematical operators are supported in Office Basic.

Numeric Functions

The following numeric functions perform calculations. Mathematical and Boolean operators are described in a separate section. Functions differ from operators in that functions pass arguments and return a result, whereas operators return a result by combining two numeric expressions.

Screen I/O Functions

This section describes the Runtime Functions used to call dialogue boxes for the input and output of user entries.

File I/O Functions

Use File I/O functions to create and manage user-defined (data) files.

Controlling Program Execution

The following statements control the execution of a program.

Error-Handling Functions

Use the following statements and functions to define the way Office Basic reacts to run-time errors.

Other Commands

This is a list of the functions and the statements that are not included in the other categories.