Run-Time Functions

This section describes the Runtime Functions of LibreOffice Basic.

Basic Constants

Constants used in Basic programs

I/O föll á skjá

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

I/O föll fyrir skrár

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

Dagsetninga- og tímaföll

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

Fallaðgerðir til villumeðhöndlunar

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


The following logical operators are supported by LibreOffice Basic.


The following mathematical operators are supported in LibreOffice Basic.

Töluleg föll

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, instead of operators that return a result by combining two numeric expressions.

Controlling Program Execution

The following statements control the execution of a program.


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.


The available comparison operators are described here.


The following functions and statements validate and return strings.

Aðrar skipanir

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