Contents

# Further Statements

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 procedure of a Dynamic Link Library (DLL). The keyword, type and number of parameters is dependent on the routine that is being called.

## Choose Function

आर्गुमेन्ट सूची में से चयनित मूल्य को वापस करता है.

## Declare Statement

Declares and defines a subroutine in a DLL file that you want to execute from LibreOffice Basic.

## End Statement

किसी प्रोसीज़र या खण्ड को समाप्त करता है.

## Exit Statement

Exits a Do...Loop, For...Next, a function, a property, 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

A function is a block of code which runs when it is called. A function is usually called in an expression.

You can pass data, known as parameters or arguments, into a function. You may pass a parameter by value or by reference. When by reference, modifications applied to the parameter in the function will be sent back to the calling code.

A function usually returns data as a result.

## Rem Statement

निर्धारित करता है कि प्रोग्राम की पंक्ति टिप्पणी है.

## Stop Statement

बेसिक प्रोग्राम का चलाना रोकता है.

## Sub Statement

सबरूटीन पारिभाषित करता है.

## 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.