Further Statements

Contents
Index 🔎︎

# Ďalšie príkazy

Statements that do not belong to any of the other categories are described here.

## Call Statement

Transfers the control of the program to a subroutine, a function, or a DLL procedure.

## Choose Function

Vráti vybranú hodnotu zo zoznamu argumentov.

## Declare Statement

Deklaruje a definuje podprogram v DLL súbore, ktorý chcete spustiť z LibreOffice Basic.

## End Statement

Ends a procedure or block.

## Exit Statement

Exits a Do...Loop, For...Next, a function, or a subroutine.

## FreeLibrary Function

Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: Declare

## Function Statement

Definuje podprogram, ktorý možno zavolať z programu a ktorý vracia hodnotu.

## Rem Statement

Specifies that a program line is a comment.

## Stop Statement

Stops the execution of the Basic program.

## Sub Statement

Defines a subroutine.

## Switch Function

Evaluates a list of arguments, consisting of an expression followed by a value. The Switch function returns a value that is associated with the expression that is passed by this function.

## With Statement

Sets an object as the default object. Unless another object name is declared, all properties and methods refer to the default object until the End With statement is reached.